unless - use a Perl module unless a condition holds
version 0.04
use unless CONDITION, MODULE => ARGUMENTS;
The construct
has no effect if CONDITION is true. In this case the effect is the same as of
CONDITION
use MODULE ARGUMENTS;
Above => provides necessary quoting of MODULE. If not used (e.g., no ARGUMENTS to give), you'd better quote MODULE yourselves.
=>
MODULE
The current implementation does not allow specification of the required version of the module.
Ilya Zakharevich <ilyaz@cpan.org>
Chris Williams <chris@bingosnet.co.uk>
This software is copyright (c) 2014 by Ilya Zakharevich.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install unless, copy and paste the appropriate command in to your terminal.
cpanm
cpanm unless
CPAN shell
perl -MCPAN -e shell install unless
For more information on module installation, please visit the detailed CPAN module installation guide.