Jman1 has asked for the wisdom of the Perl Monks concerning the following question:
then the interpreter complains about constants in A but not B. if I have insteaduse B; use Constants;
then it complains about constants in B. Questions:use Constants; use B;
UPDATE: I think export will do it. Thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using constants in multiple files?
by ikegami (Patriarch) on Oct 06, 2005 at 21:42 UTC | |
|
Re: Using constants in multiple files?
by ambrus (Abbot) on Oct 06, 2005 at 21:06 UTC | |
|
Re: Using constants in multiple files?
by Zaxo (Archbishop) on Oct 06, 2005 at 21:15 UTC |