Jan 30, 2004, 9:29 AM
Post #1 of 5
Remove First line from File
I have a large file, with many lines in (about 50,000).
I need to remove the first line from that file each time it is run.
Normally i would consider:
foreach $line (@line)
next if $num eq "0";
print LIST "$line\n";
However i think with 50,000 lines this is not a good idea.
Is it not possible just to remove the first line from a file simply?