
andy7t
User
Jan 30, 2004, 9:29 AM
Post #1 of 5
(613 views)
|
|
Remove First line from File
|
Can't Post
|
|
Hello, 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: $num=0; foreach $line (@line) { next if $num eq "0"; print LIST "$line\n"; $num++; } 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?
|