Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Perl Modules

    URI::Find::Rule 0.8

    Download button

    No screenshots available
    Downloads: 279  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Rob Partington | More programs
    Perl Artistic License / FREE
    April 16th, 2009, 19:58 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    URI::Find::Rule description

    Simpler interface to URI::Find

    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

      


    TAGS:

    URI::Find interface | Perl module | Perl interface | URI | interface | Perl

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM