|
NAMEVenus::Role::Doable - Doable Role ABSTRACTDoable Role for Perl 5 SYNOPSIS package Example;
use Venus::Class;
with 'Venus::Role::Doable';
attr 'time';
sub execute {
return;
}
package main;
my $example = Example->new;
# $example->do(time => time)->execute;
DESCRIPTIONThis package modifies the consuming package and provides methods for chaining any chainable and non-chainable methods (by ignoring their return values). METHODSThis package provides the following methods: dodo(string | coderef $method, any @args) (object) The do method dispatches the method call or executes the callback and returns the invocant. This method supports dispatching, i.e. providing a method name and arguments whose return value will be acted on by this method. Since 0.01
AUTHORSAwncorp, "awncorp@cpan.org" LICENSECopyright (C) 2022, Awncorp, "awncorp@cpan.org". This program is free software, you can redistribute it and/or modify it under the terms of the Apache license version 2.0.
|