Gtk, Tk, and Curses::Widgets will let you create a graphical interface, the later being text based. But if you have no good reason to use them other than being "sick of text screens" your program isn't going to be much more useful and unless you plan on translating the text into heiroglphics (sp?) it's probably going to look pretty much the same. There are plenty of good reasons for using a graphical user interface, but moving the text from a console to a window isn't one of them IMO. | [reply] |
The Tk module is most often used to create graphical user interfaces in perl. Be forewarned that there is a slight learning curve involved at first, but it does get easier to understand after working with it. Also available is the GD.pm module which is also found on CPAN. Jouke wrote a review of that module which can be found here.
TStanley
--------
There's an infinite number of monkeys outside who want to talk to us
about this script for Hamlet they've worked out -- Douglas Adams/Hitchhiker's Guide to the Galaxy
| [reply] |
If you are on an X based platform, use Tk, Gtk, or wxPerl.
There are more interfaces on CPAN, like Qt and FWTK, but it
seems that they are dead.
Are you on a Win32 platform, you can choose between Tk, wxPerl
and Win32::GUI.
Jouke Visser, Perl 'Adept'
Using Perl to help the disabled: pVoice and pStory
| [reply] |
nardo listed the most popular choices in the first reply. Of those, Tk is portable to Windows systems.
I'd also add another, which I used before Tk on Windows was "native" enough: use dynamic HTML. Generating HTML for a user interface is the normal way Web applications work. But I used client-side scripting and DHTML to implement an installer.
—John | [reply] |