in reply to
Using perl module if env is enabled
use if $ENV{USE_XYZ}, 'XYZ';
The
if
module has been core since Perl 5.6.2.
Comment on
Re: Using perl module if env is enabled
Select
or
Download
Code
In Section
Seekers of Perl Wisdom