Hades::Realm::Moose - Hades realm for Moose
Version 0.01
Quick summary of what the module does:
Hades->run({ eval => q| Kosmos { [curae penthos] :t(Int) :d(2) :p :pr :c :r geras $nosoi :t(Int) :d(5) { if (£penthos == $nosoi) { return £curae; } } } |, realm => 'Moose', }); ... generates ... package Kosmos; use strict; use warnings; use Moose; use MooseX::Privacy; use Types::Standard qw/Int/; our $VERSION = 0.01; has curae => ( is => "rw", required => 1, clearer => "clear_curae", predicate => "has_curae", isa => Int, default => sub {2}, traits => [qw/Private/] ); has penthos => ( is => "rw", required => 1, clearer => "clear_penthos", predicate => "has_penthos", isa => Int, default => sub {2}, traits => [qw/Private/] ); sub geras { my ( $self, $nosoi ) = @_; $nosoi = defined $nosoi ? $nosoi : 5; if ( !defined($nosoi) || ref $nosoi || $nosoi !~ m/^[-+\d]\d*$/ ) { $nosoi = defined $nosoi ? $nosoi : 'undef'; die qq{Int: invalid value $nosoi for variable \$nosoi in method geras}; } if ( £penthos == $nosoi ) { return £curae; } } 1; __END__
NOTE: coerce attributes currently do not work with Moose
Instantiate a new Hades::Realm::Moose object.
Hades::Realm::Moose->new
call build_as_role method.
call build_as_class method.
call build_has method. Expects param $meta to be a HashRef.
$obj->build_has($meta)
call build_accessor_predicate method. Expects param $name to be a Str, param $content to be a Str.
$obj->build_accessor_predicate($name, $content)
call build_accessor_clearer method. Expects param $name to be a Str, param $content to be a Str.
$obj->build_accessor_clearer($name, $content)
call build_accessor_builder method. Expects param $name to be a Str, param $content to be a Str.
$obj->build_accessor_builder($name, $content)
LNATION, <email at lnation.org>
<email at lnation.org>
Please report any bugs or feature requests to bug-hades::realm::moose at rt.cpan.org, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=Hades-Realm-Moose. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-hades::realm::moose at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Hades::Realm::Moose
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
https://rt.cpan.org/NoAuth/Bugs.html?Dist=Hades-Realm-Moose
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Hades-Realm-Moose
CPAN Ratings
https://cpanratings.perl.org/d/Hades-Realm-Moose
Search CPAN
https://metacpan.org/release/Hades-Realm-Moose
This software is Copyright (c) 2020 by LNATION.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in '(£penthos'. Assuming CP1252
To install Hades::Realm::Moose, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Hades::Realm::Moose
CPAN shell
perl -MCPAN -e shell install Hades::Realm::Moose
For more information on module installation, please visit the detailed CPAN module installation guide.