SPUG:inconsistant perl -c
spug at ifokr.org
Thu Jan 30 12:52:19 CST 2003
This is confusing. I've got a mod_perl site and want to do a simple
perl -c check before pushing the code from stage to prod. The code
works just fine on the server. But perl -c dissagrees. Using the
following (almost completely meaningless) files the problem still
Contents of BriOne.pm:
Contents of BriTwo.pm:
my $s = Apache->server();
$ perl -c BriTwo
BriTwo Syntax OK
$ perl -c BriOne
Can't locate object method server via package Apache (perhaps you forgot
to load 'Apache'?) at BriOne.pm line 3.
Compilation Failed in require at BriOne line 3
How can I make that second perl -c not complain? It shouldn't. At
least I don't think it should.
Brian Hatch "I sense in her a key, as yet unturned."
Systems and "And what exactly does that mean?"
Security Engineer "I don't know. But I should think it
http://www.ifokr.org/bri/ would be *fascinating* to find out."
Every message PGP signed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 240 bytes
Desc: not available
Url : http://mail.pm.org/pipermail/spug-list/attachments/20030130/4a0c8915/attachment.bin
More information about the spug-list