pileofrogs has asked for the wisdom of the Perl Monks concerning the following question:
I'm working on adding some features to CPAN::Mini::Inject, and it's command line tool mcpani. Right now I'm trying to add support for Module::Signature. The thing is, I want it to be optional. If the user doesn't have Module::Signature installed, I want make install to go smoothely, and I don't want mcpani to freak out when the user uses it.
So, my question to you monks is, what's the best way to handle an optional extra functionality like that? Can you point me to any documents/tutorials that talk about that? CPAN::Mini::Inject uses ExtUtils::ModuleMaker, but documentation relating to Module::Builder would also be great.
Thanks!
--Pileofrogs
Update: Downvote if you want, but say why... Can't get better if you don't say what the problem is.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Module with optional features
by sgifford (Prior) on Apr 24, 2006 at 22:01 UTC | |
|
Re: Module with optional features
by rinceWind (Monsignor) on Apr 24, 2006 at 22:33 UTC | |
|
Re: Module with optional features
by CountZero (Bishop) on Apr 25, 2006 at 03:55 UTC | |
|
Re: Module with optional features
by adrianh (Chancellor) on Apr 26, 2006 at 16:11 UTC |