1if(3pm)                Perl Programmers Reference Guide                if(3pm)
2
3
4

NAME

6       if - "use" a Perl module if a condition holds
7

SYNOPSIS

9         use if CONDITION, MODULE => ARGUMENTS;
10

DESCRIPTION

12       The construct
13
14         use if CONDITION, MODULE => ARGUMENTS;
15
16       has no effect unless "CONDITION" is true.  In this case the effect is
17       the same as of
18
19         use MODULE ARGUMENTS;
20
21       Above "=>" provides necessary quoting of "MODULE".  If not used (e.g.,
22       no ARGUMENTS to give), you'd better quote "MODULE" yourselves.
23

BUGS

25       The current implementation does not allow specification of the required
26       version of the module.
27

AUTHOR

29       Ilya Zakharevich <mailto:ilyaz@cpan.org>.
30
31
32
33perl v5.16.3                      2013-03-04                           if(3pm)
Impressum