Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    HTML::LinkExtractor 0.13

    Download button

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

    License / Price:

    Last Updated:

    Category:
    D.H. (PodMaster) | More programs
    Perl Artistic License / FREE
    September 14th, 2007, 08:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    HTML::LinkExtractor description

    Extract links from an HTML document

    HTML::LinkExtractor can extract links from an HTML document.

    HTML::LinkExtractor is used for extracting links from HTML. It is very similar to HTML::LinkExtor, except that besides getting the URL, you also get the link-text.

    Example ( please run the examples ):

    use HTML::LinkExtractor;
    use Data::Dumper;

    my $input = q{If < a href="http://perl.com/" > I am a LINK!!! < /a >};
    my $LX = new HTML::LinkExtractor();

    $LX->parse($input);

    print Dumper($LX->links);
    __END__
    # the above example will yield
    $VAR1 = [
    {
    '_TEXT' => '< a href="http://perl.com/" > I am a LINK!!! < /a >',
    'href' => bless(do{(my $o = 'http://perl.com/')}, 'URI::http'),
    'tag' => 'a'
    }
    ];

    HTML::LinkExtractor will also correctly extract nested link-type tags.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    extract links | HTML document | Perl module | HTML | link | extractor

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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