weezer_316 has asked for the wisdom of the Perl Monks concerning the following question:
Help! WWW::mech gives me unreadable info! Code and output below. Searched everywhere, noone seems to have any ideas on how to fix it.
use WWW::Mechanize; my $url = "http://www.bbc.co.uk"; my $todays_data = "D:\\Documents and Settings\\My Documents\\test_mech +.txt"; my $mech = WWW::Mechanize->new(); $mech->get( $url, ':content_file' => $todays_data ) or die "$!";
Just gives this garbage! Doesnt matter what page I try. On an XP box to, and this code works on linux
ѧcZf'4a%QՆɔ,S d;ƙWg_8?;7RTMهG:79'Rʔڈl<mJ?@tM]VڐdX3$~V?'=#*>2fc"1(
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: WWW:mech unreadable output
by ikegami (Patriarch) on Feb 24, 2009 at 13:59 UTC | |
|
Re: WWW:mech unreadable output
by poolpi (Hermit) on Feb 24, 2009 at 14:09 UTC | |
by Anonymous Monk on Feb 24, 2009 at 14:18 UTC | |
|
Re: WWW:mech unreadable output
by Anonymous Monk on Feb 24, 2009 at 14:17 UTC | |
by Anonymous Monk on Feb 24, 2009 at 14:29 UTC | |
by ikegami (Patriarch) on Feb 24, 2009 at 15:00 UTC |