Chris Williams > smokebrew > App::SmokeBrew::PerlVersion

Download:
smokebrew-0.48.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.48   Source  

NAME ^

App::SmokeBrew::PerlVersion - Moose role for perl versions

VERSION ^

version 0.48

SYNOPSIS ^

  use Moose;

  with 'App::SmokeBrew::PerlVersion';

DESCRIPTION ^

App::SmokeBrew::PerlVersion is a Moose::Role consumed by various parts of smokebrew that provides a required attribute and some methods.

ATTRIBUTES ^

version

A required attribute.

A Perl::Version object.

Coerced from Str via new in Perl::Version

Constrained to existing in Module::CoreList released and being >= 5.006

METHODS ^

These are methods provided by the role.

perl_version

Returns the normalised perl version prefixed with perl-.

is_dev_release

Returns true if the perl version is a development perl release, false otherwise.

SEE ALSO ^

smokebrew

Moose::Role

App::SmokeBrew::Types

Perl::Version

AUTHOR ^

Chris Williams <chris@bingosnet.co.uk>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2014 by Chris Williams.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: