Dhanashri Bhate [DB], on Tuesday, December 20, 2005 at 17:53 (+0530) wrote the following:
DB> If I do as you have mentioned above, $mech-success is False. ( $mech->get DB> expects a url ) DB> I tried to get the complete the URL by concatenating the $imageref->base and DB> $imageref->url. And then issue get on this complete url. ( added the code DB> below ) DB> ---------------- DB> my $imageurl = $imageref->url ; DB> my $imagebase = $imageref->base ; DB> $url = "$imagebase/$imageurl"; DB> print "Getting url $url\n"; DB> $mech->get($url); you dont need to do this - read: http://search.cpan.org/~petdance/WWW-Mechanize-1.16/lib/WWW/Mechanize/Link.pm DB> WWW::Mechanize::Image=HASH(0x850cb48) DB> Getting url DB> http://osqa12.mirapoint.com/em//images/eui/gen_login_logo.gif you should check for success, if it is, save content using: $mech->save_content( $filename ) everything is in docs, just read them http://search.cpan.org/~petdance/WWW-Mechanize-1.16/lib/WWW/Mechanize.pm -- How do you protect mail on web? I use http://www.2pu.net ["I'll remember you." Kanis "I hope so." MacLeod] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>