The stupid question is the question not asked | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I think the first I learned was:
perl -pe 0 "filename".
Rather trivial, but it took a bit of thought to understand what the "0" was.
For illustrating the power of Perl, I like perl-MLWP::Simple -e "print get(shift)" http://www.perlmonks.org chas (Those are for Win; Single quotes may be better on *nix.) In reply to Re: Favourite One-liners?
by chas
|
|