in reply to PPM has module but BugZilla says it's missing
I'm a bit worried by the "Version string" messages, but the issue doesn't seem to be down to versions.
Actually, they do suggest the problem.
I have CGI:
>perl -wle"use base 'CGI'; sub f { $CGI::VERSION } print f();" 3.49
But base can be fooled into thinking I don't:
>perl -wle"sub f { $CGI::VERSION } use base 'CGI'; print f();" -1, set by base.pm
The simplest fix (for BugZilla):
>perl -wle"sub f { ${'CGI::VERSION'} } use base 'CGI'; print f();" 3.49
Using parent instead of base would address the issue, although I don't know why either are used to simply load modules.
A workaround (for you):
perl -MCGI -MTemplate checksetup.pl
Update: Added workaround.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: PPM has module but BugZilla says it's missing
by davies (Monsignor) on Sep 29, 2010 at 16:33 UTC |