NAME

App::Framework::Base::Run - Execute external commands

SYNOPSIS

use App::Framework::Base::Run ;

DESCRIPTION

DIAGNOSTICS

Setting the debug flag to level 1 prints out (to STDOUT) some debug messages, setting it to level 2 prints out more verbose messages.

AUTHOR

Steve Price <sdprice at cpan.org>

BUGS

None that I know of!

INTERFACE

App::Framework::Base::Run->new([%args])

Create a new Run.

The %args are specified as they would be in the set method, for example:

'mmap_handler' => $mmap_handler

The full list of possible arguments are :

'fields'	=> Either ARRAY list of valid field names, or HASH of field names with default values 
App::Framework::Base::Run->init_class([%args])

Initialises the Run object class variables.

App::Framework::Base::Run->run([%args])

Execute a command, return exit status (0=success)

App::Framework::Base::Run->run_results([%args])

Execute a command, return output lines

App::Framework::Base::Run->run_cmd($cmd, [%args])

Execute a specified command, return exit status (0=success)

App::Framework::Base::Run->run_cmd_results($cmd, [%args])

Execute a specified command, return output lines

App::Framework::Base::Run->clear_args()

Clear out command args (ready for calls of the add_args method)

App::Framework::Base::Run->add_args($args)

Add arguments from parameter $args.

If $args is scalar, append to existing arguments with a preceding space If $args is an array, append each to args If $args is a hash, append the args as an 'option' / 'value' pair. If 'value' is not defined, then just set the option.

App::Framework::Base::Run->check_args()

Ensure arguments are correct

App::Framework::Base::Run->print_run([%args])

Display the full command line as if it was going to be run

1 POD Error

The following errors were encountered while parsing the POD:

Around line 29:

=over without closing =back