in reply to checking if a file / image exists on another server

Untested, but it's called LWP::Simple for a reason:

use LWP::Simple; if (head( 'http://www.example.com/images/imagename.jpg' )) { print "exists!\n"; } else { print "does not exist!\n"; }

Replies are listed 'Best First'.
Re: Re: checking if a file / image exists on another server
by Anonymous Monk on Sep 16, 2003 at 18:10 UTC
    perlfect! thanks