Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the CGI CPAN distribution.

Report information
The Basics
Id: 41530
Status: resolved
Priority: 0/
Queue: CGI

People
Owner: Nobody in particular
Requestors: ryochin [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: Pre-compiling 'end_form' with ':form' switch fails
Show quoted text
shell> perl -MCGI -e 'CGI->compile(":form")'
Undefined subroutine CGI::end_form at -e line 1 Perl tries to compile (nonexistent) 'end_form' routine but it fails of the code below. *end_form = \&endform; --- CGI.pm.orig 2008-12-08 18:40:29.000000000 +0900 +++ CGI.pm 2008-12-08 18:40:48.000000000 +0900 @@ -834,6 +834,7 @@ sub _compile { my($func) = $AUTOLOAD; + $func = 'CGI::endform' if $func eq 'CGI::end_form'; # or something my($pack,$func_name); { local($1,$2); # this fixes an obscure variable suicide problem.
Thanks a patch for this is in my github repo now: http://github.com/markstos/CGI.pm/tree/master
Subject: Thanks, released
The patch for this ticket has now been released in CGI.pm 3.47, and this ticket is considered resolved. Thanks again for you help to improve CGI.pm! Mark