X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDumpvalue.pm;h=af16b1dd08831a2a89574579b332655b64f346a5;hb=b41aadf259cf55858c5ab0386356cdbe2dc49a6b;hp=7944e78c963fde9b0cf27bc4a52d9989d43407a2;hpb=c80d22cf25b66d86b08969e4d74c9eff9e38e03f;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/Dumpvalue.pm b/lib/Dumpvalue.pm index 7944e78..af16b1d 100644 --- a/lib/Dumpvalue.pm +++ b/lib/Dumpvalue.pm @@ -1,7 +1,7 @@ use 5.006_001; # for (defined ref) and $#$v and our package Dumpvalue; use strict; -our $VERSION = '1.11'; +our $VERSION = '1.13'; our(%address, $stab, @stab, %stab, %subs); # documentation nits, handle complex data structures better by chromatic @@ -488,7 +488,7 @@ Dumpvalue - provides screen dump of Perl data. =head1 SYNOPSIS use Dumpvalue; - my $dumper = new Dumpvalue; + my $dumper = Dumpvalue->new; $dumper->set(globPrint => 1); $dumper->dumpValue(\*::); $dumper->dumpvars('main'); @@ -500,7 +500,7 @@ Dumpvalue - provides screen dump of Perl data. A new dumper is created by a call - $d = new Dumpvalue(option1 => value1, option2 => value2) + $d = Dumpvalue->new(option1 => value1, option2 => value2) Recognized options: @@ -585,7 +585,7 @@ Prints a dump to the currently selected filehandle. $dumper->dumpValues($value1, $value2); -Same as C< $dumper->dumpValue([$value1, $value2]); >. +Same as C<< $dumper->dumpValue([$value1, $value2]); >>. =item stringify @@ -616,7 +616,7 @@ given quote char. Possible values are C, C<'> and C<">. =item set_unctrl - $d->set_unctrl('"'); + $d->set_unctrl('unctrl'); Sets C option with checking for an invalid argument. Possible values are C and C.