App::SmokeBrew::PerlVersion - Moose role for perl versions
version 0.48
use Moose; with 'App::SmokeBrew::PerlVersion';
App::SmokeBrew::PerlVersion is a Moose::Role consumed by various parts of smokebrew that provides a required attribute and some methods.
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
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.
Chris Williams <chris@bingosnet.co.uk>
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.