Do you know where your variables are? | |
PerlMonks |
CGI Module behavior changes between Perl 5.8.1 and 5.8.8?by jsignal (Initiate) |
on Feb 15, 2006 at 00:24 UTC ( [id://530266]=perlquestion: print w/replies, xml ) | Need Help?? |
jsignal has asked for the wisdom of the Perl Monks concerning the following question: I'm having a difficult time after upgrading from Perl 5.8.1 to 5.8.8. I support an application that creates a CGI object, calls the CGI::path_info($new_pathinfo) method with a parameter to set the variable in the object, and then spits out a URL by calling CGI->url(-relative=>0,-query=>1,-path_info=>1). This simple script exhibits the differing output between the versions of the Perl interpreter: The Code:
The Output: When I browse to http://servername/cgi-bin/cgitest.cgi/AAAA on a server with Perl 5.8.1, I get this output:
If I browse to the EXACT SAME SCRIPT on a server running Perl 5.8.8, I get this output:
This change in the behavior of the CGI module is causing me big headaches. If anyone has suggestions, please let me know! Thanks,Jason
Back to
Seekers of Perl Wisdom
|
|