Sub::Spec::DepChecker - Check dependencies from 'deps' spec clause
version 0.03
use Sub::Spec::DepChecker qw(check_deps); my $err = check_deps($spec->{deps}); print "Dependencies not met: $err" if $err;
NOTICE: This module and the Sub::Spec standard is deprecated as of Jan 2012. Rinci is the new specification to replace Sub::Spec, it is about 95% compatible with Sub::Spec, but corrects a few issues and is more generic. Perinci::* is the Perl implementation for Rinci and many of its modules can handle existing Sub::Spec sub specs.
Perinci::*
The 'deps' spec clause adds information about subroutine dependencies. This module performs check on it.
To handle a new dependency clause, create a checkdep_CLAUSE() into Sub::Spec::DepChecker namespace.
Sub::Spec
Steven Haryanto <stevenharyanto@gmail.com>
This software is copyright (c) 2012 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.
To install Sub::Spec::DepChecker, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Sub::Spec::DepChecker
CPAN shell
perl -MCPAN -e shell install Sub::Spec::DepChecker
For more information on module installation, please visit the detailed CPAN module installation guide.