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
I dislike bc. The perl one-line calculator does what I want and is simple enough to remember and type in.perl -ple'$a=$_=eval'
Juerd
- http://juerd.nl/
- spamcollector_perlmonks@juerd.nl (do not use).
In reply to Re: The problem with one-liners...
by Juerd
in thread The problem with one-liners...
by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |