App::Magpie::Role::RunningCommand - sthg that can run an external command
version 2.010
with 'App::Magpie::Role::RunningCommand'; $self->run_command( "sleep 10" );
This role is meant to provide easy way of running a command for classes consuming it. Standard output & standard errors are redirected depending on the log level.
$obj->run_command( $cmd );
Run a command, spicing some debug comments here and there. Die if the command encountered a problem.
Jerome Quelin <jquelin@gmail.com>
This software is copyright (c) 2011 by Jerome Quelin.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install App::Magpie, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Magpie
CPAN shell
perl -MCPAN -e shell install App::Magpie
For more information on module installation, please visit the detailed CPAN module installation guide.