in reply to opening a webpage's source

This is quite handy:

perl -MLWP::Simple -e 'getprint "http://www.google.com"'

Walking the road to enlightenment... I found a penguin and a camel on the way.....
Fancy a yourname@perl.me.uk? Just ask!!!

Replies are listed 'Best First'.
Re^2: opening a webpage's source
by ikegami (Patriarch) on Jun 26, 2005 at 14:08 UTC
    GET 'http://www.google.com'

    works just as well from the prompt, but requires less typing. GET comes with LWP.

      GET doesn't come with every LWP installation, you're generally asked if you want it or not.

      Flavio
      perl -ple'$_=reverse' <<<ti.xittelop@oivalf

      Don't fool yourself.