Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: A step on the path to enlightenment

by grantm (Parson)
on Mar 17, 2003 at 04:25 UTC ( #243580=note: print w/ replies, xml ) Need Help??


in reply to A step on the path to enlightenment

perl -p -e "$_=eval"
but then you don't get new lines after each answer

You could use -l to tack on the newlines:

perl -lpe "$_=eval"


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://243580]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2016-02-07 04:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (245 votes), past polls