Dumpvalue - provides screen dump of Perl data.
- dumpValue
-
$dumper->dumpValue($value);
$dumper->dumpValue([$value1, $value2]);
- dumpValues
-
$dumper->dumpValues($value1, $value2);
- dumpvars
-
$dumper->dumpvars('my_package');
$dumper->dumpvars('my_package', 'foo', '~bar$', '!......');
The optional arguments are considered as literal strings unless they
start with ~ or !, in which case they are interpreted as regular
expressions (possibly negated).
The second example prints entries with names foo, and also entries
with names which ends on bar, or are shorter than 5 chars.
- set_quote
-
$d->set_quote('"');
Sets tick and unctrl options to suitable values for printout with the
given quote char. Possible values are auto, ' and ".
- set_unctrl
-
$d->set_unctrl('"');
Sets unctrl option with checking for an invalid argument.
Possible values are unctrl and quote.
- compactDump
-
$d->compactDump(1);
Sets compactDump option. If the value is 1, sets to a reasonable
big number.
- veryCompact
-
$d->veryCompact(1);
Sets compactDump and veryCompact options simultaneously.
- set
-
$d->set(option1 => value1, option2 => value2);
- get
-
@values = $d->get('option1', 'option2');