Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Importing constants into another module

by paulski (Beadle)
on Feb 03, 2005 at 02:47 UTC ( #427507=note: print w/replies, xml ) Need Help??


in reply to Re: Importing constants into another module
in thread Importing constants into another module

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. :-)

  • Comment on Re^2: Importing constants into another module

Replies are listed 'Best First'.
Re^3: Importing constants into another module
by paulski (Beadle) on Feb 03, 2005 at 05:21 UTC
    Thanks for everyone's help. I've got this module stuff down now. :-)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://427507]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2020-07-02 10:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?