in reply to Remove Lines from file
It seems you can use a BEGIN {...} block with the -p flag to skip lines as well but it might be too succinct for its own good.
$ perl -pe 'BEGIN { <> for 1 .. 5 }' file > newfile [download]
Cheers,
JohnGG