| Verby documentation | view source | Contained in the Verby distribution. |
Verby::Action::Run::Unconditional - A default verify method for
Verby::Action::Run based actions.
pakcage MyAction;
with qw/
Verby::Action::Run
Verby::Action::Run::Unconditional
/;
sub do {
my ( $self, $c ) = @_;
$c->create_poe_session( ... );
}
# no need to supply ->verify
This convenience role makes it easy to write Verby::Action::Run based
actions that return false from verify until they have actually been run, at
which point they return true unconditionally.
| Verby documentation | view source | Contained in the Verby distribution. |