Name

Mojito::Model::MetaCPAN - Tap into metacpan.org

Methods

get_synopsis

Retrieve the pod for a given module (in markdown format). Extract the SYNOPSIS and return it.

get_synopsis_formatted

signature: (a Perl Module name, an element of qw/presentation/)
example: my $synop = $self->get_synopsis_formatted('Moose', 'presentation');

trim_lines

Remove first line Remove leading and trailing blank lines

get_recent_releases_from_metacpan

Get a Hash of the most recent CPAN releases
where they keys are: Module Names
 and the values are: Module Versions

recent_synopses_shortcut

Create the Mojito shortcut that gets the synopses of the most 
recently released CPAN distributions.  Looks like:

{{synopsis Module1}}
{{synopsis Module2}}
...
{{synopsis Modulen}}

get_recent_releases

Get the most recent releases (as module names)

get_recent_synopses

Get the most recent synopses from CPAN