in reply to perl module to determine if a URL is valid?
use Regexp::Common qw /URI/; while (<>) { /$RE{URI}{HTTP}/ and print "Contains an HTTP URI.\n"; }
In Section
Seekers of Perl Wisdom
in reply to perl module to determine if a URL is valid?
use Regexp::Common qw /URI/; while (<>) { /$RE{URI}{HTTP}/ and print "Contains an HTTP URI.\n"; }