Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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.


Comment on Re: A step on the path to enlightenment
Download Code

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 examining the Monastery: (7)
As of 2015-07-01 23:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (25 votes), past polls