Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: The problem with one-liners...

by Juerd (Abbot)
on Feb 06, 2003 at 18:58 UTC ( [id://233229]=note: print w/replies, xml ) Need Help??


in reply to The problem with one-liners...

I throw away one-liners. Anything I can do today, I hope to still be able to do in a year or two. By (my) definition, one-liners are bad code and bad code should imho not be saved :)

My favourite is

perl -ple'$a=$_=eval'
I dislike bc. The perl one-line calculator does what I want and is simple enough to remember and type in.

Juerd
- http://juerd.nl/
- spamcollector_perlmonks@juerd.nl (do not use).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-03-29 11:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found