knils_r00t has asked for the wisdom of the Perl Monks concerning the following question:
i have a perl script and i want to execute it in gui using tk....any help i use ubuntu
i have a script say x.pl
use Tk; my $main = MainWindow->new; $main->Button(-text => 'Hello', -command => [\&printem, "Hello\n"] )->pack; $main->Button(-text => 'End', -command => [$main => 'destroy'] )->pack; MainLoop;
The above script produces two buttons.... now i want when i click any button the script x.pl executes..... plz u hv any solution
plzzz help
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Run a script as GUI using perl\tk
by jethro (Monsignor) on Nov 16, 2011 at 14:41 UTC | |
Re: Run a script as GUI using perl\tk
by zentara (Archbishop) on Nov 16, 2011 at 17:23 UTC |
Back to
Seekers of Perl Wisdom