in reply to One Line of Salvation

perl -e 'use LWP::Simple;eval get "http://some/url"' Yuckie poo, though. That's scary.

Replies are listed 'Best First'.
Re: Re: One Line of Salvation
by MeowChow (Vicar) on Feb 16, 2001 at 11:36 UTC
    Very nice! Playing a miniscule bit of golf:
    perl -MLWP::Simple -e 'eval get "http://server/file"'
    Don't you hate it how you have to reverse single/double quotes between NT and Unix? Wonder if there's an easy way around that...
       MeowChow                                   
                   s aamecha.s a..a\u$&owag.print
      I guess you could avoid the quotes altogether... perl -MLWP::Simple -we eval -e get+q,http://server/file, Probably not a general solution, however. :)
Re: Re: One Line of Salvation
by $code or die (Deacon) on Feb 16, 2001 at 06:46 UTC
    Nice and portable. Something I could envisage using internally in my company, but never something I would run if I didn't know what the script does!

    $code or die
    Using perl at
    The Spiders Web