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 ( #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? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2023-01-28 22:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?