NAME
Sub::Spec::Clause::depends - Specify subroutine dependency
VERSION
version 0.04
SYNOPSIS
In your spec:
depends => 'SUBNAME1 | SUBNAME2 | ...',
depends => 'SUBNAME1 & SUBNAME2 & ...',
depends => {
all => [{sub => 'SUBNAME1'}, {sub=>'SUBNAME2'}, ...],
},
depends => {
any => [{sub => 'SUBNAME1'}, {sub=>'SUBNAME2'}, ...],
},
DESCRIPTION
This clause adds information about subroutine dependency. This is used, for example, by Sub::Spec::RunDepends to run subroutine's dependencies (recursively) before running the subroutine itself.
DEPENDENCY CLAUSES
subname
all
any
none
not_all
SEE ALSO
AUTHOR
Steven Haryanto <stevenharyanto@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Steven Haryanto.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.