Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: How to include a large number of constants?

by holli (Abbot)
on Apr 27, 2005 at 18:26 UTC ( [id://452070]=note: print w/replies, xml ) Need Help??


in reply to How to include a large number of constants?

You may want to study the code of Astro::Constants.


holli, /regexed monk/
  • Comment on Re: How to include a large number of constants?

Replies are listed 'Best First'.
Re^2: How to include a large number of constants?
by dragonchild (Archbishop) on Apr 27, 2005 at 18:49 UTC
    Wow, that distribution is a poster-boy for how to (ab)use Module::Build. The author creates his modules on the fly during the build process, which is kinda nuts. More importantly, he pre-generates a list of constants ahead of time, then the modules end up explicitly listing every constant. The resulting files are going to look ... well ... ugly.

    Now, the process the author uses is kinda nice. Maybe that should be replicated, but definitely not the resulting code.


    The Perfect is the Enemy of the Good.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-20 02:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found