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

Owner: Nobody in particular
Requestors: ryochin [...]

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

Subject: Pre-compiling 'end_form' with ':form' switch fails
Download (untitled) / with headers
text/plain 558b
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; --- 2008-12-08 18:40:29.000000000 +0900 +++ 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:
Subject: Thanks, released
Download (untitled) / with headers
text/plain 160b
The patch for this ticket has now been released in 3.47, and this ticket is considered resolved. Thanks again for you help to improve! Mark

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to