CPAN::Meta::Check(3) User Contributed Perl Documentation CPAN::Meta::Check(3)NAME
CPAN::Meta::Check - Verify requirements in a CPAN::Meta object
VERSION
version 0.004
SYNOPSIS
warn "$_
" for verify_requirements($meta, [qw/runtime build test/], 'requires');
DESCRIPTION
This module verifies if requirements described in a CPAN::Meta object are present.
FUNCTIONS
check_requirements($reqs, $type)
This function checks if all dependencies in $reqs (a CPAN::Meta::Requirements object) are met, taking into account that 'conflicts'
dependencies have to be checked in reverse. It returns a hash with the modules as values and any problems as keys, the value for a
succesfully found module will be undef.
verify_dependencies($meta, $phases, $types, $incdirs)
Check all requirements in $meta for phases $phases and types $types. Modules are searched for in @$incdirs, defaulting to @INC.
requirements_for($meta, $phases, $types, incdirs)
This function returns a unified CPAN::Meta::Requirements object for all $type requirements for $phases. $phases may be either one (scalar)
value or an arrayref of valid values as defined by the CPAN::Meta spec. $type must be a a relationship as defined by the same spec. Modules
are searched for in @$incdirs, defaulting to @INC.
SEE ALSO
o Test::CheckDeps
o CPAN::Meta
AUTHOR
Leon Timmermans <leont@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Leon Timmermans.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.16.2 2012-05-24 CPAN::Meta::Check(3)
Check Out this Related Man Page
Test::CheckDeps(3) User Contributed Perl Documentation Test::CheckDeps(3)NAME
Test::CheckDeps - Check for presence of dependencies
VERSION
version 0.010
SYNOPSIS
use Test::More 0.94;
use Test::CheckDeps 0.007;
check_dependencies();
done_testing();
DESCRIPTION
This module adds a test that assures all dependencies have been installed properly. If requested, it can bail out all testing on error.
FUNCTIONS
check_dependencies( [ level ])
Check dependencies based on a local MYMETA or META file.
The "level" argument is optional. It can be one of:
o requires
All 'requires' dependencies are checked (the configure, build, test and runtime phases are always checked, and the develop phase is
also tested when AUTHOR_TESTING is set)
o classic
As "requires", but 'conflicts' dependencies are also checked.
o recommends
As "classic", but 'recommends' dependencies are also checked, as TODO tests.
o suggests
As "recommends", but 'suggests' dependencies are also checked, as TODO tests.
When not provided, "level" defaults to "classic" ('requires' and 'conflicts' dependencies are checked).
check_dependencies_opts($meta, $phase, $type)
Check dependencies in CPAN::Meta object $meta for phase $phase (configure, build, test, runtime, develop) and type $type(requires,
recommends, suggests, conflicts). You probably just want to use "check_dependencies" though.
AUTHOR
Leon Timmermans <leont@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Leon Timmermans.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.18.2 2013-10-09 Test::CheckDeps(3)
So you want to learn a unix scripting language that you'll be able to use in any situation? Perl is your answer !
This is a little intro to installing CPAN modules. If you don't know what CPAN is, check out http://search.cpan.org/. Basicly, it is a massive archive of perl libraries that will... (0 Replies)
Does anyone know the system requirements for Unix 03? I need the CPU, RAM, and harddisk space requirements. I have been looking all over the web but can't seem to find the numbers. If you could post a link that would be great. Thanks (0 Replies)
Hi all,
Do we have anyway to get the freediskspace for within a C program?
I need functionality similar to 'df -h' -> which gives the % of utilization...
Otherwise, if we go and use 'system ("df -h /home/myhome/")', do we have any way of capturing the output into a string and parse the... (2 Replies)
Hi,
I need to give the file system requirements for our project and i don't know how to proceed. From where do i stand? Our box is SUNos and there are 20 to 30 application that we should support on the box. Can any one get me started in a direction.
Thanks (6 Replies)
Hi Guys,
what is a meta file system ? what is it use for?
What is /etc/vfstab?
What is the relationship between the "vfstab file and meta file system.
thanks (1 Reply)
Hi Guys,
what is a meta file system ? what is it use for?
What is /etc/vfstab?
What is the relationship between the "vfstab file and meta file system. (3 Replies)
What are the server requirements, Software requirements, Network requirements etc,
Please help me.. as 'm new 'm unable to get things done @ my end alone.
Please refrain from typing subjects completely in upper case letters to get more attention, ty. (5 Replies)
Just spent a number of hours on updating the meta data for the mobile pages:
Forum Home
Forum Display
Showthread (Discussions)
Man Pages
This is the bulk of the mobile pages which need meta, however, so for the most part, the mobile meta data update is done for now.
One more TODO... (0 Replies)