'twould be good to consult some golfers on what they would find
helpful. (No, I'm not joking.)
Actually a -E style patch would have little influence on golf as
it's usually played here since we only use options on the #!perl line,
which is not where this stuff would happen. We also don't use -M and
options like that for the same reson. And since we put the code in the
file body we already don't have the explicit -e.
There's also the point that in golf it's mostly an END{} block that's
wanted, and these are kindof solved by using the }{ trick:
perl -lpe '}{$_=$.' < /etc/passwd
BEGIN is also sometimes needed and has no good standard solution.
Usually something with INIT{} is used.
(writing this makes me realize we might want to discuss the scope of
-l and -0 options if we're going to support multiple -p and -n)
The reason I like the idea is not for golf but for commandlines