Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Creating Win32 User Interfaces with Perl

by JSchmitz (Canon)
on Jul 06, 2004 at 18:53 UTC ( #372177=note: print w/replies, xml ) Need Help??


in reply to Creating Win32 User Interfaces with Perl

Is there some special reason that you need a graphical interface? I am not sure why you are talking about CGI and Apache those seem totally unrelated to what you are trying to do. If you need a GUI program in Perl you can install the Tk widget like so: "perl -MCPAN -e shell" then at the prompt type: install Tk - on a Windows system (I assume you are using ActiveState go Perl\bin and type PPM - when the prompt comes up type: install Tk

Once the module is installed you can start out by creating simple widget like programs and progress up to what you are trying to do. Time to get up to speed depends on how much Perl you know and how much programming chops you have.

Here is a sample of Hello World! in Tk:
#!/usr/bin/perl -w use Tk; my $mw = MainWindow->new; $mw->Button(-text => "Hello World!", -command =>sub{exit})->pack; MainLoop;
Perl does much more than web stuff
Happy Coding!

Jeffery

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://372177]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2020-08-09 15:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which rocket would you take to Mars?










    Results (54 votes). Check out past polls.

    Notices?