in reply to PerlTk File Input
Hope this helps,use Tk; my $file; my $top = new MainWindow; my $ent = $top->Entry(-textvariable=>\$file)->pack(); my $but = $top->Button(-text=>"ShowFile",-command=>\&sub_file)->pack() +; MainLoop(); sub sub_file { print $file; # or whatever }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: PerlTk File Input
by eserte (Deacon) on Jul 20, 2004 at 09:15 UTC | |
|
Re^2: PerlTk File Input
by paul99 (Initiate) on Jul 22, 2004 at 09:35 UTC |