metacpan / MetaCPAN-Client

Home of the official MetaCPAN Perl API client.
21 stars 23 forks source link

Question: Convert dependency data obtained by MetaCPAN::Client to cpanfile? #41

Closed ghost closed 8 years ago

ghost commented 8 years ago

I'm just asking this as I would like to get module dependency data in cpanfile (or CPAN::Meta::Prereqs) format from data fetched via MetaCPAN::Client. I guess it's not unusual case, so someone else might have made some shortcut there. If there's no existing stuffs it's fine for me to do it myself. Thanks!

mickeyn commented 8 years ago

perl -MMetaCPAN::Client -MDDP -e'&p( MetaCPAN::Client->new->release("Moose")->dependency )' ?

ghost commented 8 years ago

Thanks. I think this can be closed now.