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
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; --- 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
Download (untitled) / with headers
text/plain 160b
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


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.