Mateu X. Hunter > Mojito-0.21 > Mojito::Model::MetaCPAN

Download:
Mojito-0.21.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.21   Source   Latest Release: Mojito-0.24

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

syntax highlighting: