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.)
Thanks,
-Lee
"To be civilized is to deny one's nature."
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.)
Thanks,
-Lee
"To be civilized is to deny one's nature."
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Changing values in module installations.
by andreychek (Parson) on Mar 21, 2002 at 04:04 UTC | |
by shotgunefx (Parson) on Mar 21, 2002 at 08:38 UTC | |
Re: Changing values in module installations.
by hossman (Prior) on Mar 21, 2002 at 01:42 UTC | |
by shotgunefx (Parson) on Mar 21, 2002 at 08:31 UTC | |
Re: Changing values in module installations.
by Bobcat (Scribe) on Mar 21, 2002 at 03:14 UTC |
Back to
Seekers of Perl Wisdom