Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Re: WWW:Mechanize and Windows

by Akira71 (Scribe)
on Aug 12, 2003 at 16:41 UTC ( [id://283259]=note: print w/replies, xml ) Need Help??


in reply to Re: WWW:Mechanize and Windows
in thread WWW:Mechanize and Windows

Thank you Mike for the answer.
I went ahead and made the change only to get an error further down the page. The code I displayed, was actually code from the WWW::Mechanize PM and was not written by me. It has been around a while and even Randall Schwartz (sp?! sorry if wrong) has included a demo in the example.pod file. I cannot help but feel there is something else missing and that this should compile.

For completeness the error I get later when making the changes suggested above is:
C:\Perl Dev\Screen Scraper Test>perl despair.pl Can't locate object method "get" via kage "WWW::Mechanize" (perhaps yo +u forgot to load "WWW::Mechanize"?) at C:/Perl/site/lib/WWW/Mechanize +.pm line 183.

Line 183 of the file is:
sub get { my $self = shift; my $uri = shift; $uri = $self->{base} ? URI->new_abs( $uri, $self->{base} ) : URI->new( $uri ); return $self->SUPER::get( $uri, @_ ); }

The return $self line exactly.
Thank you for you help though. It is always appreciated.

Replies are listed 'Best First'.
Re: Re: Re: WWW:Mechanize and Windows
by RMGir (Prior) on Aug 12, 2003 at 17:09 UTC
    I'm sorry, I have no idea what the problem is.

    However, looking at CPAN, I see that WWW::Mechanize is up to version 0.57.

    Maybe the problem you're running into is fixed in that release? In any case, you're more likely to be able to get help from the maintainer if your problem is happening with the latest release.

    That latest version was release on July 31 of this year, so it looks like this module is still being actively maintained.
    --
    Mike

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://283259]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2024-03-29 09:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found