Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
and it just doesn't work, it doesn't give any output (a blank page); I don't know why. Can you help me?open(FILE,"filename.txt"); $line=<FILE>; while ($line=<FILE>){ print $line; } close (FILE);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Opening files in NT
by Corion (Patriarch) on Sep 16, 2000 at 16:09 UTC | |
|
Re: Opening files in NT
by doran (Deacon) on Sep 19, 2000 at 09:22 UTC | |
by premchai21 (Curate) on Mar 21, 2001 at 01:14 UTC |