Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (14)
As of 2016-06-28 20:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (361 votes). Check out past polls.