Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: Bareword "HTTP::Status::RC_PERMANENT_REDIRECT" not allowed while "strict subs" for https requestby Corion (Patriarch) |
on May 06, 2021 at 13:58 UTC ( [id://11132152]=note: print w/replies, xml ) | Need Help?? |
If you are running your script in a persistent environment like a mod_perl script, you might want to explicitly load HTTP::Status to make sure all the subroutines are explicitly defined:
In the long run, LWP::UserAgent should explicitly have use HTTP::Status; in its code as bliako commented, because it uses elements from that module. Update: The change has found its way into LWP::UserAgent and will be in some release.
In Section
Seekers of Perl Wisdom
|
|