though it's not a favorite.perl -lne"// and print "
On a side note, I'd write that (perl -e 'print <>' filename) as perl -pe1 filename.
In reply to Re: Favourite One-liners?
by PodMaster
in thread Favourite One-liners?
by ghenry
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |