Skip Menu |

This queue is for tickets about the CGI-Application-Plugin-ConfigAuto CPAN distribution.

Report information
The Basics
Id: 66237
Status: resolved
Priority: 0/
Queue: CGI-Application-Plugin-ConfigAuto

People
Owner: MARKSTOS [...] cpan.org
Requestors: zaksantanu [...] gmail.com
Cc:
AdminCc:

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



Subject: Its not a bug, but 'my' should be added in example file
Date: Mon, 28 Feb 2011 15:34:05 +0700
To: bug-CGI-Application-Plugin-ConfigAuto [...] rt.cpan.org
From: zakarias santanu <zaksantanu [...] gmail.com>
Hi, I am using CGI::Application::Plugin::ConfigAuto, and looks i should add "my" into config file, i saw this in example : #!/usr/bin/perl # directory path name $CFG{DIR} = '/home/mark/www'; # website URL $CFG{URL} = 'http://mark.stosberg.com/'; \%CFG; And my application throws "index.pl: Global symbol "%CFG" requires explicit package name at (eval 166) line 13, <$fh> line 12" Warning/error is gone when i add "my" into config file #!/usr/bin/perl my %CFG=(); # directory path name $CFG{DIR} = '/home/mark/www'; # website URL $CFG{URL} = 'http://mark.stosberg.com/'; \%CFG; FYI: My perl version is 5.10.0 Regards, Zak
Subject: Re: [rt.cpan.org #66237] Its not a bug, but 'my' should be added in example file
Date: Tue, 01 Mar 2011 10:12:49 -0500
To: bug-CGI-Application-Plugin-ConfigAuto [...] rt.cpan.org
From: Mark Stosberg <mark [...] summersault.com>
I agree. Thanks for the suggestion. One other person reported a test failure related to this as well. Mark
Thanks for the suggestion. I realized 1.33 with your recommended change, with credit to you.