| App::Framework::Base::Object::DumpObj - Dump out an objects contents |
App::Framework::Base::Object::DumpObj - Dump out an objects contents
use App::Framework::Base::Object::DumpObj ;
Given a data object (scalar, hash, array etc) prints out that objects contents
Setting the debug flag to level 1 prints out (to STDOUT) some debug messages, setting it to level 2 prints out more verbose messages.
Steve Price <sdprice at cpan.org>
None that I know of!
debug($level)
Set debug print options to $level.
0 = No debug 1 = standard debug information 2 = verbose debug information
verbose($level)
Set vebose print options to $level.
0 = Non verbose 1 = verbose print
print_objects_flag($flag)
Set option for printing out objects to $flag.
0 = Do not print contents of object [DEFAULT] 1 = print contents of object
quote_vals_flag($flag)
Set option quoting the values to $flag.
0 = Do not quote values [DEFAULT] 1 = Print values inside quotes This is useful for re-using the output directly to define an array/hash
exclude(@list)
Set the list of excluded HASH keys. Any keys in a HASH that match the name(s) in the list will not be displayed.
Specifying an empty list clears the excludes
prefix($prefix)
Prefix all output lines with $prefix
Returns previous value
prtstr_data(@list)
Create a multiline string of all items in the list. Handles scalars, hashes (as an array), arrays, ref to scalar, ref to hash, ref to array, object.
prt_data(@list)
Print out each item in the list. Handles scalars, hashes (as an array), arrays, ref to scalar, ref to hash, ref to array, object.
| App::Framework::Base::Object::DumpObj - Dump out an objects contents |