App::SmokeBrew::PerlVersion - Moose role for perl versions
version 1.04
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
Str
new
Constrained to existing in Module::CoreList released and being >= 5.006
released
5.006
These are methods provided by the role.
perl_version
Returns the normalised perl version prefixed with perl-.
perl-
is_dev_release
Returns true if the perl version is a development perl release, false otherwise.
development
can_quadmath
Returns true if the perl version is capable of being built with quadmath.
quadmath
can_jobs
Returns true if the perl version is safely capable of being built with make -j.
make -j
smokebrew
Moose::Role
App::SmokeBrew::Types
Perl::Version
Chris Williams <chris@bingosnet.co.uk>
This software is copyright (c) 2022 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.
To install smokebrew, copy and paste the appropriate command in to your terminal.
cpanm
cpanm smokebrew
CPAN shell
perl -MCPAN -e shell install smokebrew
For more information on module installation, please visit the detailed CPAN module installation guide.