in reply to Perl Tk User Interface & the rest of the Perl program

how about something like this ...
... sub clicked { system ( 'myscript.pl' ); } my $top = MainWindow->new(); my $button = $top->Button ( -text => "click me", -command => \&clicked )->pack(); ... MainLoop();

Replies are listed 'Best First'.
Re: Re: Perl Tk User Interface & the rest of the Perl program
by Anonymous Monk on Aug 14, 2002 at 19:39 UTC
    Dear rbc, derby & Courage,

    Thank you so much! Your suggestions totally helped me out.