App::Magpie::Role::RunningCommand - sthg that can run an external command
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 <email@example.com>
COPYRIGHT AND LICENSE
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.