URI::Find::Rule is a simpler interface to URI::Find.
SYNOPSIS
use URI::Find::Rule;
# find all the http URIs in some text
my @uris = URI::Find::Rule->scheme('http')->in($text);
# or you can use anything that URI->can() for HTTP URIs
my @uris = URI::Find::Rule->http->in($text);
# find all the URIs referencing a host
my @uris = URI::Find::Rule->host(qr/myhost/)->in($text);
URI::Find::Rule is a simpler interface to URI::Find (closely modelled on File::Find::Rule by Richard Clamp).
Because it operates on URI objects instead of the stringified versions of the found URIs, it's nicer than, say, grepping the stringified values from URI::Find::Simple's list_uris method.
It returns (default) a list containing [$original, $uri] for each URI or, optionally, a list containing a URI object for each URI.
Product's homepage
Requirements:
· Perl