Help for this page

Select Code to Download


  1. or download this
    $p->links 
    Returns a list of all links found in the document. The
    returned values will be anonymous arrays with the 
    follwing [sic] elements: 
      [$tag, $attr => $url1, $attr2 => $url2,...]
    
  2. or download this
    [$tag, {$attr => $url1, $attr2 => $url2,...}]
    
  3. or download this
    $p = HTML::LinkExtor->new(\&cb, "http://www.perl.org/");
     sub cb {
         my($tag, %links) = @_;
         print "$tag @{[%links]}\n";
     }
    
  4. or download this
    @{[%links]}
    
  5. or download this
    ($_='jjjuuusssttt annootthheer
         pppeeerrrlll haaaccckkeer')=~y/a-z//s;print;