Shell::Verbose - A verbose version of system()
use Shell::Verbose qw/verboseSystem vsys/; verboseSystem('echo "foo"'); # echo "foo" # foo vsys('echo "foo"'); # echo "foo" # foo Shell::Verbose->prefix('===> '); # ===> echo 'foo' # foo Shell::Verbose->before('Running the next line'); # Running the next line # ===> echo 'foo' # foo Shell::Verbose->after('That was easy'); # Running the next line # ===> echo 'foo' # foo # That was easy
A simple wrapper for system() that prints the command
Drew Stephens <drew@dinomit.net>
To install Shell::Verbose, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Shell::Verbose
CPAN shell
perl -MCPAN -e shell install Shell::Verbose
For more information on module installation, please visit the detailed CPAN module installation guide.