gomez18 has asked for the wisdom of the Perl Monks concerning the following question:
our @EXPORT = qw($VAR1 $VAR2...);
This library is used in dslRB (/usr/local/lib/perl5/5.6.0/dslRB.pm) via a standard use statement. The problem I'm having is that the variables defined in dslDefine, while apparently exported (No complaints from "use strict"), yield an undefined variable error whenever I try to use them.
Does anyone have any idea how to resolve this? If there's a vastly superior way to go about this, please let me know.
An 8 bit man in a 32 bit world.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Variable scoping in packages
by arturo (Vicar) on Oct 10, 2001 at 00:25 UTC | |
by gomez18 (Sexton) on Oct 10, 2001 at 00:36 UTC | |
|
Re: Variable scoping in packages
by John M. Dlugosz (Monsignor) on Oct 10, 2001 at 00:22 UTC | |
by tye (Sage) on Oct 10, 2001 at 00:39 UTC | |
by John M. Dlugosz (Monsignor) on Oct 10, 2001 at 03:27 UTC | |
by chromatic (Archbishop) on Oct 10, 2001 at 03:57 UTC | |
by blakem (Monsignor) on Oct 10, 2001 at 04:03 UTC | |
by John M. Dlugosz (Monsignor) on Oct 10, 2001 at 08:09 UTC | |
|
Re: Variable scoping in packages
by perrin (Chancellor) on Oct 10, 2001 at 00:20 UTC |