Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Problem while using WWW::Mechanize module for getting html

by yujong_lee (Novice)
on Mar 04, 2020 at 10:37 UTC ( [id://11113758]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     
    #!/usr/bin/perl
    use strict;
    ...
    my $mech = WWW::Mechanize->new( autocheck => 1 );
    $mech->get( "http://hiphople.com/kboard" );
    print $mech->content();
    
  2. or download this
    #!/usr/bin/perl
    use strict;
    ...
    my $responce = $mech->get( "http://hiphople.com/kboard" );
    my $output = "file1.txt";
    gunzip $responce => $output;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11113758]
Approved by marto
Front-paged by haukex
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-04-19 14:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found