NAME
App::SmokeBrew::PerlVersion - Moose role for perl versions
VERSION
version 1.06
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. can_quadmath
-
Returns true if the perl version is capable of being built with
quadmath
. can_jobs
-
Returns true if the perl version is safely capable of being built with
make -j
.
SEE ALSO
AUTHOR
Chris Williams <chris@bingosnet.co.uk>
COPYRIGHT AND LICENSE
This software is copyright (c) 2023 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.