Perl Monk, Perl Meditation | |
PerlMonks |
Re^2: Importing constants into another moduleby paulski (Beadle) |
on Feb 03, 2005 at 02:47 UTC ( [id://427507]=note: print w/replies, xml ) | Need Help?? |
You're right, it's a tradeoff. I could either have more verbose constants, which would clutter up the code (they're used very frequently) and good OO design. Or I could export them all so other modules looks less cluttered but sacrifice maintainability/extensibility in the future.
Given that this application has a limited lifespan and scope, I'm thinking the latter makes the most sense. Feel free to call me insane. :-)
In Section
Seekers of Perl Wisdom
|
|