Name
Mojito::Model::MetaCPAN - Tap into metacpan.org
Methods
get_synopsis_from_metacpan
Args: (Str: main module path, ModuleName: main module)
Returns: (Array: ($pod_url_used, @synopsis_lines)
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 an ArrayRef[HashRef] of the most recent CPAN releases
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