in reply to Extracting Line from Text file over 45 days old
open my $fh, '<', $filename or die "Cannot open file '$filename' for reading: $!\n"; while ( my $line = <$fh> ) { # Do stuff here. } close $fh;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Extracting Line from Text file over 45 days old
by shmem (Chancellor) on Jan 13, 2008 at 01:26 UTC | |
by dragonchild (Archbishop) on Jan 13, 2008 at 03:04 UTC | |
by BrowserUk (Patriarch) on Jan 14, 2008 at 21:19 UTC |