jakeeboy has asked for the wisdom of the Perl Monks concerning the following question:
The question I have is how do I specify that I want to restrict usage of the module to package b since the name of the module is a.pm I would use a; but if I write use a::b; it will look for b.pm in directory a?package a; { #some code } package b; { #some other code }
But I want to use package b's variables and subs how do I get to them?
Thanks for the info....
jakeeboy
Title edit by tye as one-word titles complicate simple searches
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Modules
by chromatic (Archbishop) on Feb 08, 2002 at 17:26 UTC | |
|
Re: Modules
by AidanLee (Chaplain) on Feb 08, 2002 at 17:24 UTC |