NAME
Rope::Lazier - Rope done lazier
VERSION
Version 0.40
SYNOPSIS
package Knot;
use Rope;
use Rope::Lazier qw/prop fun v c e t/
use Types::Standard qw/Int/;
prop loops => (v(1), c, t(Int));
prop [qw/hitches bends/] => (v(10), c, e, t(Int));
fun add_loops => sub {
my ($self, $loop) = @_;
$self->{loops} += int->($loop);
};
1;
...
my $k = Knot->new();
say $k->{loops}; # 1;
$k->{loops} = 'kaput'; # errors as Str is not an Int
Exports
pro
prototyped
prop
property
props
properties
fun
function
be
before
ar
around
af
after
v
value
i
initable
w
writeable
c
configurable
e
enumerable
p
private
r
required
t
type
b
builder
tr
trigger
dtr
delete_trigger
pr
predicate
cl
clearer
hv
handles_via
h
handles
AUTHOR
LNATION, <email at lnation.org>
BUGS
Please report any bugs or feature requests to bug-rope at rt.cpan.org
, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=Rope. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Rope
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
LICENSE AND COPYRIGHT
This software is Copyright (c) 2023 by LNATION.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)