יובל קוג'מן (Yuval Kogman) > Verby-0.05 > Verby::Action::Run

Download:
Verby-0.05.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Verby::Action::Run - a base role for actions which wrap POE::Wheel::Run.

SYNOPSIS ^

        package MyAction;
        use Moose;

        with qw/Verby::Action::Run/;
        
        sub start {
                my ($self, $c) = @_;
                $self->create_poe_sessio($c, cli => [qw/touch file/]);
        }

DESCRIPTION ^

METHODS ^

create_poe_session %args

This methods creates a sub session that runs the wheel.

log_extra

A method that given the context might append something to log messages. used by Verby::Action::Make, for example.

log_invocation

Mostly internal - the default implementation of the logging operation used when invoking the subcommand.

BUGS ^

None that we are aware of. Of course, if you find a bug, let us know, and we will be sure to fix it.

CODE COVERAGE ^

We use Devel::Cover to test the code coverage of the tests, please refer to COVERAGE section of the Verby module for more information.

SEE ALSO ^

Verby::Action::Copy - a Verby::Action::Run subclass.

AUTHOR ^

Yuval Kogman, <nothingmuch@woobling.org>

COPYRIGHT AND LICENSE ^

Copyright 2005-2008 by Infinity Interactive, Inc.

http://www.iinteractive.com

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: