paul99 has asked for the wisdom of the Perl Monks concerning the following question:
As a beginner to PerlTk, I want to create an entry widget to get the user to enter "c:\file.txt" and assign it to $data variable, so that I can then run my perl routines.$data = "c:\file.txt"; open DATA, $data or die "failed to open"; while (<DATA>) ( .....some code etc close DATA;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: PerlTk File Input
by Joost (Canon) on Jul 19, 2004 at 15:53 UTC | |
|
Re: PerlTk File Input
by mawe (Hermit) on Jul 19, 2004 at 18:47 UTC | |
by eserte (Deacon) on Jul 20, 2004 at 09:15 UTC | |
by paul99 (Initiate) on Jul 22, 2004 at 09:35 UTC |