- perl -e 'print 51 * 51 , "\n"'
say
, which is by far my fave Perl 5.10 addition. - perl -E 'say 51 * 51'
say
. Using realias
is also helpful with this.Credit where due.
My reasoned, well-considered thoughts on gadgets, computing, quantified self, health, open source and whatever else gets my dander up.
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.
you could also just use "perl -le"
ReplyDeleteOK. My command-line fu is weak, I know. Thanks.
ReplyDelete