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
In reply to Multiple packages in one module file by jakeeboy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |