On Thu Oct 20 20:16:46 2011, SHARYANTO wrote:
Show quoted text> On Mon Oct 03 22:37:49 2011, SHARYANTO wrote:
> > I'm getting this message from time to time:
> >
> > Can't locate object method "status" via package "HTTP::Headers" at /
> usr/
> > local/share/perl/5.10.0/HTTP/Message.pm line 644\n
> > HTTP::Message::__ANON__('HTTP::Response=HASH(0xa8a1648)') called at
> ...
> >
> > Regards,
> > Steven
>
> Btw, I'm currently replacing the offending line in HTTP::Message from
> this:
>
> *$method = sub { shift->headers->$method(@_) };
>
> to this:
>
> *$method = sub { eval { shift->headers->$method(@_) } or return };
>
> Seems to remedy the error.
>
> Regards,
> Steven
Ignore this post, doesn't work. :(