in reply to Package Variables
Aside from the already mentioned naming problem, it's worth noting that lexical (my) variables are implicitly also file-scoped, and you can use fully qualified notation (like $Config::amazon_config{name}) only to access package variables (which is why our works).
In other words, even if you rename the package, you'd still have to use package variables in order to share them this way.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Package Variables
by ELISHEVA (Prior) on Mar 28, 2011 at 04:00 UTC | |
Re^2: Package Variables
by kurt2439 (Sexton) on Mar 27, 2011 at 19:40 UTC | |
by Anonymous Monk on Mar 27, 2011 at 19:52 UTC | |
by kurt2439 (Sexton) on Mar 28, 2011 at 04:12 UTC | |
by Anonymous Monk on Mar 28, 2011 at 07:23 UTC | |
by kurt2439 (Sexton) on Mar 28, 2011 at 12:48 UTC | |
by toolic (Bishop) on Mar 27, 2011 at 20:11 UTC |