NAME

URL::Exists - test whether a URL exists, when you don't care about the contents

SYNOPSIS

use URL::Exists qw/ url_exists /;

if (url_exists($url)) {
   ...
}

DESCRIPTION

This module is useful where you're only interested in whether the file referenced by a URL is present, and don't actually care about the contents.

At the moment it just supports HTTP URLs, but I may add other schemes, if there's any demand / interest.

REPOSITORY

https://github.com/neilb/URL-Exists

AUTHOR

Neil Bowers <neilb@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Neil Bowers <neilb@cpan.org>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.