http://qs321.pair.com?node_id=470797


in reply to Re: Favourite One-liners?
in thread Favourite One-liners?

FYI LWP::Simple can get and print with one command:
perl -MLWP::Simple -e "getprint 'http://www.perlmonks.org'"
Here's a webserver, from the IO::All docs:
perl -MIO::All -e 'io(":8080")->fork->accept->(sub { $_[0] < io(-x $1 +? "./$1 |" : $1) if /^GET \/(.*) / })'

--
perl -MO=Deparse -e"u j t S n a t o e h r , e p l r a h k c r e"