more useful options | |
PerlMonks |
Re^3: Deleting first and last lines of a text fileby 2teez (Vicar) |
on May 16, 2014 at 10:06 UTC ( [id://1086278]=note: print w/replies, xml ) | Need Help?? |
The script given to you by morgon is a oneliner, which you should "run" from your command line interface, not from your a script. putting the above in a script should work. Of course, morgon code works fine 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
In Section
Seekers of Perl Wisdom
|
|