Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Favourite One-liners?

by epoptai (Curate)
on Jun 28, 2005 at 19:47 UTC ( #470797=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    perl -MLWP::Simple -e "getprint 'http://www.perlmonks.org'"
    
  2. or download this
    perl -MIO::All -e 'io(":8080")->fork->accept->(sub { $_[0] < io(-x $1 
    +? "./$1 |" : $1) if /^GET \/(.*) / })'