in reply to Parallel Web Agent Problem

It's not anything you're doing wrong that I can tell. I'd take this up with the module's author.

Looking at the code for LWP::Parallel::UserAgent, it is a subclass of LWP::UserAgent. The problematic method (_new_response) is defined in LWP::UserAgent but it is not exported (maybe it is in his version) nor is it an object method (it's a plain old subroutine so calling it by $self->_new_response will not work).

You could either

My vote would be to contact the author (his contact info is in the documentation), there may be more going on here and I'm missing something.

-derby

Replies are listed 'Best First'.
Re: Re: Parallel Web Agent Problem
by CodeJunkie (Monk) on Mar 11, 2003 at 15:20 UTC

    yeah thanks for that, after looking into the problem myself those are pretty much the conclusions that I came up with as well, I just wanted to be sure I wasn't missing something before going to the author about it. I think you are right and i'll see what he says. Cheers Tom

Re: Re: Parallel Web Agent Problem
by CodeJunkie (Monk) on Mar 11, 2003 at 22:36 UTC
    I contacted the author and the new version is now available on CPAN which fixes this problem, however he does say that the code is still VERY buggy, so use at own risk!