Help for this page

Select Code to Download


  1. or download this
    use WWW::Mechanize;
    use HTML::TokeParser;
    
    ...
    while($parser->get_tag){
        print $parser->get_trimmed_text(),"\n";
    }
    
  2. or download this
    $url_name = <STDIN>; # The user inputs the URL to be searched
     $webcrawler->get($url_name);
    
  3. or download this
    while($parser->get_tag){
       my $stripped_html = $parser->get_trimmed_text(),"\n";
        #print $parser->get_trimmed_text(),"\n";
       print $stripped_html;
        }