in reply to Re^4: Deleting first and last lines of a text file
in thread Deleting first and last TWO(2) lines of a text file

But where are we specifying the filename here ?...
"We" are using ARGV, the special filehandle that iterates over command-line filenames in @ARGV, from the CLI.

If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me
  • Comment on Re^5: Deleting first and last lines of a text file