A shebang with just -p would then be cat because the remainder of the file is valid perl (type perl on the command line, you're interactive mode. type C-d or F6 etc. (platform dependent) et voila. fini. no complaints)
--
perl -pew "s/\b;([mnst])/'$1/g"
In reply to Re: 'perl -p' ne 'cat'
by belg4mit
in thread 'perl -p' ne 'cat'
by grinder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |