MetaCPAN::Walker - Walk release dependencies using MetaCPAN
use MetaCPAN::Walker;
use MetaCPAN::Walker::Action::PrintOrder;
use MetaCPAN::Walker::Local::Nop;
use MetaCPAN::Walker::Policy::Fixed;
my $walker = MetaCPAN::Walker->new(
action => MetaCPAN::Walker::Action::PrintOrder->new(),
local => MetaCPAN::Walker::Local::Nop->new(),
policy => MetaCPAN::Walker::Policy::Fixed->new_with_options(),
);
$walker->release_for_module('Test::Most');
$walker->walk_from_modules(qw(namespace::clean Test::Most));
MetaCPAN::Walker provides easy ways to walk sets of CPAN releases.
Implementation of MetaCPAN::Walker::Action role defining actions to take for releases and errors.
Implementation of MetaCPAN::Walker::Local role to retrieve the locally installed release version.
MetaCPAN::Client object for accessing MetaCPAN. The default value provides caching.
Implementation of MetaCPAN::Walker::Policy role defining which releases and dependencies to walk.
Get the MetaCPAN::Walker::Release object that provides the given module.
Walk the dependency trees for all given module names, using the policy for which parts of the tree to walk, and execute actions.
Malcolm Studd <mestudd@gmail.com>
Copyright 2015- Recognia Inc.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.