But now, by going -E instead of -e, you bring in Perl 5.10. This means you get
perl -e 'print 51 * 51 , "\n"'
say
, which is by far my fave Perl 5.10 addition. I'm already starting to do one-liners more, now that I have
perl -E 'say 51 * 51'
say
. Using realias
is also helpful with this.Credit where due.
you could also just use "perl -le"
ReplyDeleteOK. My command-line fu is weak, I know. Thanks.
ReplyDelete