NAME
App::Magpie::Role::RunningCommand - sthg that can run an external command
VERSION
version 2.010
SYNOPSIS
with 'App::Magpie::Role::RunningCommand';
$self->run_command( "sleep 10" );
DESCRIPTION
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.
METHODS
run_command
$obj->run_command( $cmd );
Run a command, spicing some debug comments here and there. Die if the command encountered a problem.
AUTHOR
Jerome Quelin <jquelin@gmail.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.