|Think about Loose Coupling|
Changing values in module installations.by shotgunefx (Parson)
|on Mar 21, 2002 at 00:29 UTC||Need Help??|
shotgunefx has asked for the
wisdom of the Perl Monks concerning the following question:
What's the ideal way of specifying a value in a .pm file during it's installation.
Let's say I have a module that has an our $SYSTEM_ID that I want to be populated during the installation of one of my own modules. What's the best way to do this? (I'm using h2xs to generate the Makefile.PL) Do I just make a script that prompts and s/// the value in the file? I looked through the MakeMaker docs and really didn't find anything that helped. (Could be I missed it too.)
"To be civilized is to deny one's nature."