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: 11942
Status: resolved
Priority: 0/
Queue: CGI

People
Owner: MARKSTOS [...] cpan.org
Requestors: at [...] altlinux.org
Cc:
AdminCc:

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



Subject: CGI::Switch sets its version in package main
Hello, I noticed that CGI::Switch sets its version in package main, or whataver the caller is. Here is a patch. -- Alexey Tourbin ALT Linux Team
--- CGI.pm-3.07/CGI/Switch.pm- 2001-12-09 21:37:06 +0000 +++ CGI.pm-3.07/CGI/Switch.pm 2005-03-19 11:06:48 +0000 @@ -1,5 +1,6 @@ use CGI; +package CGI::Switch; $VERSION = '1.00'; 1;
On Sat Mar 19 06:10:19 2005, guest wrote: Show quoted text
> Hello, > > I noticed that CGI::Switch sets its version in package main, or > whataver the caller is. Here is a patch.
I have confirmed this issue is still present in 3.43, and I approve of your recommended fix for it. Mark
Thanks, this is patched in my git repo now.
Subject: released, thanks.
I believe this change was released today as part of CGI.pm 3.45. Thanks for the contribution.