Help for this page

Select Code to Download


  1. or download this
    use strict;
    my $input = "somefile.html";
    open (INPUT, $input) || die;
    my $content = <INPUT>;
    close INPUT;
    
  2. or download this
    use strict;
    my $content = LWP::Simple::get($input);