Skip Menu |

This queue is for tickets about the Constant-FromGlobal CPAN distribution.

Report information
The Basics
Id: 94036
Status: resolved
Priority: 0/
Queue: Constant-FromGlobal

People
Owner: NEILB [...] cpan.org
Requestors: KSURI [...] cpan.org
Cc:
AdminCc:

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



Subject: Cannot declare multiple constants in one use statement
This is the example from documentation: $ perl -Mstrict -MData::Dumper use Constant::FromGlobal {env => 1}, "DSN", MAX_FOO => {int => 1, default => 3}; print Dumper(DSN, MAX_FOO); Bareword "MAX_FOO" not allowed while "strict subs" in use at - line 2. Execution of - aborted due to compilation errors. I sent a pull request with a patch that fixes this problem: https://github.com/neilbowers/constant-fromglobal/pull/1
Thanks -- fixed in 0.06. Sorry it took me so long to apply it. Neil