NAME
App::SmokeBrew::PerlVersion - Moose role for perl versions
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
vianew
in Perl::VersionConstrained 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.
AUTHOR
Chris BinGOs
Williams
LICENSE
Copyright © Chris Williams
This module may be used, modified, and distributed under the same terms as Perl itself. Please see the license that came with your Perl distribution for details.