Help for this page

Select Code to Download


  1. or download this
    use HTML::Tree;
    
    ...
    
    my $html_object = $tree->look_down("_tag", "x", # find an  x element  
    +                                             
                                      "y", qr/z/); # that has a y attribut
    +e matching z
    
  2. or download this
    my $text = $html_object->as_text;
    
  3. or download this
    my $html = $html_object->as_HTML;