It comes with two caveats though: It doesn't understand https (only http), so I do something like this in my code:
use Regexp::Common qw /URI/; my $re = $RE{URI}{HTTP}; $re =~ s/http/https?/g;
The second caveat is that it doesn't understand anchors (ie the part after a # pound sign).
In reply to Re: perl module to determine if a URL is valid?
by moritz
in thread perl module to determine if a URL is valid?
by keiusui
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |