http://www.perlmonks.org?node_id=890033


in reply to best way to handle Subroutine redefined warning

How about 4. Don't roll your own redirect and use CGI.pm

print redirect(-uri=>'http://somewhere.else/in/movie/land', -nph=>1, -status=>301);

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)