NAME

App::Framework::Base::Object::DumpObj - Dump out an objects contents

SYNOPSIS

use App::Framework::Base::Object::DumpObj ;

DESCRIPTION

Given a data object (scalar, hash, array etc) prints out that objects contents

REQUIRES

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::Object::DumpObj::debug($level)

Set debug print options to $level.

0 = No debug
1 = standard debug information
2 = verbose debug information
App::Framework::Base::Object::DumpObj::verbose($level)

Set vebose print options to $level.

0 = Non verbose
1 = verbose print
App::Framework::Base::Object::DumpObj::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
App::Framework::Base::Object::DumpObj::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

App::Framework::Base::Object::DumpObj::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.

App::Framework::Base::Object::DumpObj::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.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 35:

=over without closing =back