Roboticus - I am not on a linux machine. Does that mean WWW::Mechanize is going to be useless to me?
I managed to write some small code but I really do not know which way to go with it. Sadly, I am completely unfamiliar with mechanize so this is what I have come up with:
use strict; use WWW::Mechanize; my $url = "http://upload.wikimedia.org/wikipedia/en/7/70/Blogscope-log +o-simple.jpg"; #my $cookie_jar; my $mech = WWW::Mechanize->new(); $mech->get($url); $mech->success() or die "Can't fetch the Requested page"; my $val = $mech->content; print $val;
$val ends up being that same binary nonsense. I took a look at the Image function but it looks like that just scrapes the current page and finds all images and assigns them to an array - I am actually providing a link to the image itself so it doesn't look like that would work.
Thanks again!In reply to Re^4: Difficulty with using LWP to display JPEG
by Aquilae
in thread Difficulty with using LWP to display JPEG
by Aquilae
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |