Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Importing constants into another module

by paulski (Beadle)
on Feb 03, 2005 at 02:47 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://427507]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-19 17:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found