Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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!


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (9)
As of 2021-04-12 14:05 GMT
Find Nodes?
    Voting Booth?

    No recent polls found