[cgiapp] Discrepancy between CGI and CGI::Simple
Ron Savage
ron at savage.net.au
Sun Feb 19 16:39:35 EST 2012
Hi Folks
Firstly, the code:
<===8><===>
#!/usr/bin/env perl
use feature 'say';
use CGI;
use CGI::Simple;
# --------------
say 'CGI: ', CGI -> new -> redirect;
say 'CGI::Simple: ', CGI::Simple -> new -> redirect;
<===8><===>
Then the output:
<===8><===>
CGI: Status: 302 Found
Location: http://localhost
CGI::Simple: Status: 302 Moved
Location: http://localhost/home/ron/bin/x.pl
<===8><===>
It's the 302 line I'm interested in. Is this discrepancy by design or not?
--
Ron Savage
http://savage.net.au/
Ph: 0421 920 622
More information about the cgiapp
mailing list