Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    my $page = get($url);
    
    my $p = HTML::TokeParser->new(\$page) || die "problem:  $!\n";
    
  2. or download this
    use strict;
    use warnings;
    ...
      }
      else {return 0;}
    }
    
  3. or download this
    use strict;
    my $file;
    ...
      $file = <FH>;
    }
    close(FH);
    
  4. or download this
    use strict;
    
    ...
        print "\n";
      }
    }