On Jul 20, 2006, at 10:24 PM, Andy Lester wrote:
Is there anything out there that will generate a tree of
dependencies, probably based on META.yml?
I figure I can pass in Mason, Test::WWW::Mechanize and Catalyst and
get back a list of dependencies that those require. It would be
the entire tree, so like so:
Test::WWW::Mechanize
Test::Builder
WWW::Mechanize
LWP::UserAgent
HTTP::Response
HTML::Form
HTML::Tree
Blah::Blah
Test::LongString
Test::Builder
Blah::Blah
If it doesn't exist, I'll write it. I just don't want to reinvent
the wheel.
Others have mentioned good candidates, but I thought I'd mention my
own... I've done something not-exactly-like-that in
Module::License::Report:
% license-report -a Module::License::Report
perl CPANPLUS
unrestricted File-Slurp
perl Module-License-Report
perl YAML
% license-report -a Test::WWW::Mechanize
Can't find a license for Test::LongString
perl Carp-Assert
perl Carp-Assert-More
perl HTML-Parser
perl HTML-Tagset
perl HTTP-Server-Simple
perl Test-Exception
perl Test-WWW-Mechanize
perl URI
perl WWW-Mechanize
perl libwww-perl
Something like that could be adapted to your purpose, maybe.
Chris
--
Chris Dolan, Software Developer, Clotho Advanced Media Inc.
608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703
vCard: http://www.chrisdolan.net/ChrisDolan.vcf
Clotho Advanced Media, Inc. - Creators of MediaLandscape Software
(http://www.media-landscape.com/) and partners in the revolutionary
Croquet project (http://www.opencroquet.org/)