Wise monks of perl wisdom,
I've a problem thinkering out a solution to interactively configurate a perl package. What I want to do is integrate, somewhere in the magic 4 install lines, the possibility to
configure the package being installed...
>perl Makefile.PL
>make
>make test
>make install
I was thinking the "make" command is the place to start asking for user input, like ...
>What is your name?
My question now is ... where do I need to hook this config script in? Can I pass a custom Makefile snippet in the ExtUtils::MakeMaker to the resulting Makefile?
Are there any examples out there? Or can I revert to some
dark piece of perldoc wisdom?
I humbly await your profecy ...
Johan
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.