Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: How to include a large number of constants?

by dragonchild (Archbishop)
on Apr 27, 2005 at 18:49 UTC ( [id://452078]=note: print w/replies, xml ) Need Help??


in reply to Re: How to include a large number of constants?
in thread How to include a large number of constants?

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.

  • Comment on Re^2: How to include a large number of constants?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (2)
As of 2024-04-24 15:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found