if
if
NAME
if - use
a Perl module if a condition holds
SYNOPSIS
use if CONDITION, MODULE => ARGUMENTS;
DESCRIPTION
The if
module is used to conditionally load another module. The construct
use if CONDITION, MODULE => ARGUMENTS;
will load MODULE only if CONDITION evaluates to true. The above statement has no effect unless CONDITI