Solved

create a gui in perl

Posted on 2016-10-15
3
42 Views
Last Modified: 2016-10-16
Is there a way to create a gui in Perl similar to visual basic gui?  I used to program in visual basic and visual c++ but I've switched to ubuntu since the company went under.  I'm trying to use/learn Perl and make a program to ASSIST me when I do celebrity ciphers in the newspaper.  I don't want it to solve the cipher for me  but rather substitute the letters for me when I guess.  The created screen will look like:
letter      guess                                cipher<hfh thhgbgbg nffg  dd>
A              ---------
B              ---------
C              ---------
D             ----------
etc
I want to enter guesses in the second column and then have the computer make the appropriate 26 substitutions in the cryptogram in the angle brackets next to th word "cipher" that you have to enter daily from the newspaper.
0
Comment
Question by:dwcronin
3 Comments
 
LVL 28

Accepted Solution

by:
FishMonger earned 500 total points
ID: 41845150
Your question is one of perl's FAQ's
1
 

Author Closing Comment

by:dwcronin
ID: 41845188
It seemed like a pretty natural part.  I'm happy you told me I don't have to figure out a design for a console program.
0
 
LVL 26

Expert Comment

by:skullnobrains
ID: 41845192
i believe @fishmonger gave you a proper answer.

but you may also consider using curses or dialog ( not very easy ) if you want access through a terminal... or consider a web interface

seems to me like a task moire suited for a small web page using javascript only rather than perl. since you seem to be free to use whatever you want, the js way is easy to code and the gui is html-based which you may already master
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now