
unless - use a Perl module unless a condition holds

version 0.02

use unless CONDITION, MODULE => ARGUMENTS;

The construct
use unless CONDITION, MODULE => ARGUMENTS;
has no effect if CONDITION is true. In this case the effect is the same as of
use MODULE ARGUMENTS;
Above => provides necessary quoting of MODULE. If not used (e.g., no ARGUMENTS to give), you'd better quote MODULE yourselves.

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


This software is copyright (c) 2012 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.