The 0777 option does the same thing as the BEGIN that others are suggesting. See perldoc perlrun.perl -n0777i.bak -e 'print "{$_}"' filename.txt
In reply to Re: multi-line in-place edits
by Roy Johnson
in thread multi-line in-place edits
by Tuppence
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |