Skip to content

Commit

Permalink
yet another example (module)
Browse files Browse the repository at this point in the history
  • Loading branch information
mickeyn committed Jun 23, 2014
1 parent b4fdfc4 commit ee7f49a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions examples/module.pl
@@ -0,0 +1,20 @@
use strict;
use warnings;
use DDP;

use MetaCPAN::Client;

my $module =
MetaCPAN::Client->new->module('Moo');

my %output = (
NAME => $module->name,
ABSTRACT => $module->abstract,
DESCRIPTION => $module->description,
RELEASE => $module->release,
AUTHOR => $module->author,
VERSION => $module->version,
);

p %output;

0 comments on commit ee7f49a

Please sign in to comment.