Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://243630]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2016-12-08 00:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (133 votes). Check out past polls.