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

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.

versionA 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_versionReturns the normalised perl version prefixed with perl-.
is_dev_releaseReturns true if the perl version is a development perl release, false otherwise.

Chris BinGOs Williams

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.
