$ ls | perl -l72pe1
This works and seems equivalent to
$ ls | perl -l72pe "{}"
But I don't understand the role of "1" (or digits in general) at the end of the command line, and I can't find any explanation in perlrun. I thought that they might affect the way that arguments are processed, but that doesn't seem right. Can someone clarify?
Thanks,
--John
In reply to Re^2: perl one-liner doesn't autochomp input
by jbullock35
in thread perl one-liner doesn't autochomp input
by bronto
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |