Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Dealing with binary data and WWW::Mechanize and encoding stuff

by davidrw (Prior)
on Dec 07, 2008 at 15:19 UTC ( [id://728724]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use IO::Compress::Gzip;
    my $compressed;
    ...
    $mech->get($pdf_url);
    warn length $mech->content;  # 0 cause of the 'default_add_content' se
    +tting
    warn length $compressed;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://728724]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-24 13:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found