|
|
| Come for the quick hacks, stay for the epiphanies. | |
| PerlMonks |
Re^4: Serious Exporter Problemsby Tanktalus (Canon) |
| on Jul 10, 2005 at 12:51 UTC ( [id://473768]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
My solution is to put everything in objects. I get a lot fewer problems that way. X, Y, and Z may all use each other indiscriminately, but because there are no exports, I get no problems. Best of all worlds ;-) (I'm not using B as an example because we've run into that problem before - just like using $a and $b as example variables gets some unexpected side effects, B as an example package name can get some (rare) unexpected side effects as well.)
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||