You could/should change it to:
# --------------------------------------------------------
# Checks to see if the URL is valid
use LWP::Simple;
return defined get($_[0]) ? 1 : 0;
}
Are you sure you have the case right for the module?
Code:
sub check_url { # --------------------------------------------------------
# Checks to see if the URL is valid
use LWP::Simple;
return defined get($_[0]) ? 1 : 0;
}
Are you sure you have the case right for the module?