in reply to Re^2: Can't locate object method REDIRECTS in package HTTP::Headers
in thread Can't locate object method REDIRECTS in package HTTP::Headers

You could try to get a stack trace (i.e. calling context) by putting the following near the top of your script:

use Carp; BEGIN { $SIG{__DIE__} = sub { confess @_ }; }

This might help to narrow down on where the error is originating from.  YMMV.

  • Comment on Re^3: Can't locate object method REDIRECTS in package HTTP::Headers
  • Download Code