Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Creating Win32 User Interfaces with Perl

by JSchmitz (Canon)
on Jul 06, 2004 at 18:53 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://372177]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-04-25 23:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found