Help for this page

Select Code to Download


  1. or download this
    perl -MLWP::Simple=getprint -e 'getprint("http://perlmonks.org");' >fi
    +lename_source.html
    
  2. or download this
    mojo get perlmonks.org >filename_source.html
    
  3. or download this
    perl -Mojo -E 'say g("perlmonks.org")->dom->html'
    
  4. or download this
    use strict;
    use warnings;
    ...
    open my $html_ofh, '>', 'filename.txt' or die $!;
    print {$html_ofh} $raw_page;
    close $html_ofh or die $!;