Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: A step on the path to enlightenment

by Aristotle (Chancellor)
on Mar 17, 2003 at 12:58 UTC ( #243630=note: print w/replies, xml ) Need Help??


in reply to A step on the path to enlightenment

And of course you can also use -l to shorten any other variants. -n might also be of interest.
perl -le "print eval while <>" perl -nle "print eval" perl -ple "$_=eval"
Personally, simply for the sake of clarity, I'd prefer the -n variant.

Makeshifts last the longest.