-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Description
I think you need a POD example to show, attribute usage for module data
do this
use MetaCPAN::Client;
my $mcpan = MetaCPAN::Client->new();
my $mc = $mcpan->module('Digest::MD5');
my $mc_version = $mc->version();
instead of this
use MetaCPAN::Client;
my $mcpan = MetaCPAN::Client->new();
my $mc = $mcpan->module('Digest::MD5');
my $mc_version = $mc->{data}{version};
ps it tock me a while to figure the above out from the code, when using Data-Printer you can see the exported methods for $mcpan->distribution, but not for $mcpan->module
hope the above helps, from a newbe perspective to MC-C
Metadata
Metadata
Assignees
Labels
No labels