Disable functionality thru commenting out a use
- From: "Robert Nicholson" <robert.nicholson@xxxxxxxxx>
- Date: 30 Dec 2006 06:49:34 -0800
I want to disable some functionality by making it conditional that it's
use statement is in the script.
How in general can you tell if a module is present or loaded? if
defined(X) what should X be?
I want to disable some features in a big perl script by
conditionalizing the code that relies on those modules and be able to
disable those features by comment out the "use" line for the modules.
.
- Follow-Ups:
- Re: Disable functionality thru commenting out a use
- From: Mumia W. (on aioe)
- Re: Disable functionality thru commenting out a use
- Prev by Date: Re: Why would I use Perl in place of C/C++?
- Next by Date: perl -V in 5.8.8 doesn't add architecture dependent directories?
- Previous by thread: FAQ 4.64 How can I get the unique keys from two hashes?
- Next by thread: Re: Disable functionality thru commenting out a use
- Index(es):
Relevant Pages
|