Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the WWW-Mechanize CPAN distribution.

Report information
The Basics
Id: 42711
Status: resolved
Priority: 0/
Queue: WWW-Mechanize

People
Owner: Nobody in particular
Requestors: sadashiv.linux [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.54
Fixed in: (no value)



Hi, I used following simple program in documentation, and it is not working. I do not find reason it not to work. Hopefully its a bug. #!/usr/bin/perl use strict; use warnings; use LWP::Simple; use LWP::UserAgent; use WWW::Mechanize; my $mech => WWW::Mechanize->new( autocheck => 1 ); print "value of mech is: $mech \n"; $mech->get( "http://search.cpan.org"); print $mech->content; -- Sadashiv M Kulthe Advisory System Analyst Internet Security Systems R & D Project IBM India Private Ltd.
Please note that RT is a bug-tracking system, not a place for support requests. There are other sources of help listed in the docs. Also, RT is not even the correct bug-tracking system to use. When reporting a problem in any case, you need to show the output that you got, not just the code you ran. Finally, your problem is that you should have my $mech = WWW::Mechanize->new( autocheck => 1 ); not my $mech = WWW::Mechanize->new( autocheck => 1 );