Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: How do I parse CPAN .meta files

by zwon (Abbot)
on Jan 19, 2013 at 01:58 UTC ( #1014160=note: print w/replies, xml ) Need Help??


in reply to How do I parse CPAN .meta files

.meta files are either YAML or JSON. Try the following script:

use 5.010; use strict; use warnings; use DDP; use YAML::XS qw(LoadFile); my $ref = LoadFile($ARGV[0]); p $ref;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1014160]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2018-06-18 00:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (107 votes). Check out past polls.

    Notices?