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"; }
In reply to Re: checking if a file / image exists on another server
by chromatic
in thread checking if a file / image exists on another server
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |