™.. Dumpvalue - Online Linux Manual PageSection : 3pm
Updated : 2009-07-03
Source : perl v5.10.1
Note : Perl Programmers Reference Guide

NAMEDumpvalue − provides screen dump of Perl data.

SYNOPSIS​ use Dumpvalue; ​ my $dumper = Dumpvalue−>new; ​ $dumper−>set(globPrint => 1); ​ $dumper−>dumpValue(\*::); ​ $dumper−>dumpvars('main'); ​ my $dump = $dumper−>stringify($some_value);

DESCRIPTION

CreationA new dumper is created by a call ​ $d = Dumpvalue−>new(option1 => value1, option2 => value2) Recognized options: arrayDepth, hashDepth Print only first N elements of arrays and hashes. If false, prints all the elements. compactDump, veryCompact Change style of array and hash dump. If true, short array may be printed on one line. globPrint Whether to print contents of globs. dumpDBFiles Dump arrays holding contents of debugged files. dumpPackages Dump symbol tables of packages. dumpReused Dump contents of reused addresses. tick, quoteHighBit, printUndef Change style of string dump. Default value of \*(C`tick\*(C'\fR is \f(CW\*(C`auto\*(C'\fR, one can enable either double-quotish dump, or single-quotish by setting it to \*(C`"\*(C'\fR or \f(CW\*(C`\*(Aq\*(C'\fR. By default, characters with high bit set are printed ​as is. If \*(C`quoteHighBit\*(C'\fR is set, they will be quoted. usageOnly rudimentally per-package memory usage dump. If set, ​\*(C`dumpvars\*(C'\fR calculates total size of strings in variables in the package. unctrl Changes the style of printout of strings. Possible values are ​\*(C`unctrl\*(C'\fR and \f(CW\*(C`quote\*(C'\fR. subdump Whether to try to find the subroutine name given the reference. bareStringify Whether to write the non-overloaded form of the stringify-overloaded objects. quoteHighBit Whether to print chars with high bit set in binary or as is. stopDbSignal Whether to abort printing if debugger signal flag is raised. Later in the life of the object the methods may be queries with get() method and set() method (which accept multiple arguments).

MethodsdumpValue ​ $dumper−>dumpValue($value); ​ $dumper−>dumpValue([$value1, $value2]); Prints a dump to the currently selected filehandle. dumpValues ​ $dumper−>dumpValues($value1, $value2); Same as \*(C` $dumper\-\*(C'\fRdumpValue([$value1, \f(CW$value2\fR]); >. stringify ​ my $dump = $dumper−>stringify($value [,$noticks] ); Returns the dump of a single scalar without printing. If the second argument is true, the return value does not contain enclosing ticks. Does not handle data structures. dumpvars ​ $dumper−>dumpvars('my_package'); ​ $dumper−>dumpvars('my_package', 'foo', '~bar$', '!......'); The optional arguments are considered as literal strings unless they start with \*(C`~\*(C'\fR or \f(CW\*(C`!\*(C'\fR, in which case they are interpreted as regular expressions (possibly negated). The second example prints entries with names \*(C`foo\*(C'\fR, and also entries with names which ends on \*(C`bar\*(C'\fR, or are shorter than 5 chars. set_quote ​ $d−>set_quote('"'); Sets \*(C`tick\*(C'\fR and \f(CW\*(C`unctrl\*(C'\fR options to suitable values for printout with the given quote char. Possible values are \*(C`auto\*(C'\fR, \f(CW\*(C`\*(Aq\*(C'\fR and \f(CW\*(C`"\*(C'\fR. set_unctrl ​ $d−>set_unctrl('unctrl'); Sets \*(C`unctrl\*(C'\fR option with checking for an invalid argument. Possible values are \*(C`unctrl\*(C'\fR and \f(CW\*(C`quote\*(C'\fR. compactDump ​ $d−>compactDump(1); Sets \*(C`compactDump\*(C'\fR option. If the value is 1, sets to a reasonable big number. veryCompact ​ $d−>veryCompact(1); Sets \*(C`compactDump\*(C'\fR and \f(CW\*(C`veryCompact\*(C'\fR options simultaneously. set ​ $d−>set(option1 => value1, option2 => value2); get ​ @values = $d−>get('option1', 'option2');
0
Johanes Gumabo
Data Size   :   19,226 byte
man-Dumpvalue.3pmBuild   :   2024-12-29, 07:25   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   6 / 261,511
Visitor ID   :     :  
Visitor IP   :   3.146.176.112   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|252|Dumpvalue.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\| )         (htmlprn|149|Dumpvalue.3pm|36/37|.el══─{─══. ds --  —  |.el══─{─══. ds -- \|\(em\| )         (parse_manual_page_|252|Dumpvalue.3pm|41|br══─}─══|'br══─}─══ )         (htmlprn|149|Dumpvalue.3pm|41|'br══─}─══ |'br══─}─══ )         (rof_nr_x|149|Dumpvalue.3pm|51/52|\nF|.ie \nF ══─{─══. de IX )         (rof_unit_scale_px|41|Dumpvalue.3pm|51/52|F|.ie \nF ══─{─══. de IX )         (rof_if|19|Dumpvalue.3pm|51/52|\nF|.ie \nF ══─{─══. de IX )         (htmlprn|149|Dumpvalue.3pm|51/52|.ie \nF ══─{─══. de IX|.ie \nF ══─{─══. de IX )         (rof_escape_sequence|91|Dumpvalue.3pm|53|\$1\t\\n%\t"\\$2" |. tm Index:\\$1\t\\n%\t"\\$2" )         (parse_manual_page_|252|Dumpvalue.3pm|57|══─}─══|.══─}─══ )         (htmlprn|149|Dumpvalue.3pm|57|.══─}─══ |.══─}─══ )         (rof_escape_sequence|91|Dumpvalue.3pm|184|\*(C`tick\*(C'\fR is \f(CW\*(C`auto\*(C'\fR, one |Change style of string dump. Default value of \f(CW\*(C`tick\*(C'\fR is \f(CW\*(C`auto\*(C'\fR, one )         (rof_escape_sequence|91|Dumpvalue.3pm|186|\*(C`"\*(C'\fR or \f(CW\*(C`\*(Aq\*(C'\fR. By default, characters with high bit set are printed |to \f(CW\*(C`"\*(C'\fR or \f(CW\*(C`\*(Aq\*(C'\fR. By default, characters with high bit set are printed )         (rof_escape_sequence|91|Dumpvalue.3pm|187|\*(C`quoteHighBit\*(C'\fR is set, they will be quoted. |\&\fIas is\fR. If \f(CW\*(C`quoteHighBit\*(C'\fR is set, they will be quoted. )         (rof_escape_sequence|91|Dumpvalue.3pm|192|\*(C`dumpvars\*(C'\fR calculates total size of strings in variables in the package. |\&\f(CW\*(C`dumpvars\*(C'\fR calculates total size of strings in variables in the package. )         (rof_escape_sequence|91|Dumpvalue.3pm|196|\*(C`unctrl\*(C'\fR and \f(CW\*(C`quote\*(C'\fR. |\&\f(CW\*(C`unctrl\*(C'\fR and \f(CW\*(C`quote\*(C'\fR. )         (rof_escape_sequence|91|Dumpvalue.3pm|228|\*(C` $dumper\-\*(C'\fRdumpValue([$value1, \f(CW$value2\fR]); >. |Same as \f(CW\*(C` $dumper\-\*(C'\fRdumpValue([$value1, \f(CW$value2\fR]); >. )         (rof_escape_sequence|91|Dumpvalue.3pm|246|\*(C`~\*(C'\fR or \f(CW\*(C`!\*(C'\fR, in which case they are interpreted as regular |start with \f(CW\*(C`~\*(C'\fR or \f(CW\*(C`!\*(C'\fR, in which case they are interpreted as regular )         (rof_escape_sequence|91|Dumpvalue.3pm|249|\*(C`foo\*(C'\fR, and also entries |The second example prints entries with names \f(CW\*(C`foo\*(C'\fR, and also entries )         (rof_escape_sequence|91|Dumpvalue.3pm|250|\*(C`bar\*(C'\fR, or are shorter than 5 chars. |with names which ends on \f(CW\*(C`bar\*(C'\fR, or are shorter than 5 chars. )         (rof_escape_sequence|91|Dumpvalue.3pm|257|\*(C`tick\*(C'\fR and \f(CW\*(C`unctrl\*(C'\fR options to suitable values for printout with the |Sets \f(CW\*(C`tick\*(C'\fR and \f(CW\*(C`unctrl\*(C'\fR options to suitable values for printout with the )         (rof_escape_sequence|91|Dumpvalue.3pm|258|\*(C`auto\*(C'\fR, \f(CW\*(C`\*(Aq\*(C'\fR and \f(CW\*(C`"\*(C'\fR. |given quote char. Possible values are \f(CW\*(C`auto\*(C'\fR, \f(CW\*(C`\*(Aq\*(C'\fR and \f(CW\*(C`"\*(C'\fR. )         (rof_escape_sequence|91|Dumpvalue.3pm|265|\*(C`unctrl\*(C'\fR option with checking for an invalid argument. |Sets \f(CW\*(C`unctrl\*(C'\fR option with checking for an invalid argument. )         (rof_escape_sequence|91|Dumpvalue.3pm|266|\*(C`unctrl\*(C'\fR and \f(CW\*(C`quote\*(C'\fR. |Possible values are \f(CW\*(C`unctrl\*(C'\fR and \f(CW\*(C`quote\*(C'\fR. )         (rof_escape_sequence|91|Dumpvalue.3pm|273|\*(C`compactDump\*(C'\fR option. If the value is 1, sets to a reasonable |Sets \f(CW\*(C`compactDump\*(C'\fR option. If the value is 1, sets to a reasonable )         (rof_escape_sequence|91|Dumpvalue.3pm|281|\*(C`compactDump\*(C'\fR and \f(CW\*(C`veryCompact\*(C'\fR options simultaneously. |Sets \f(CW\*(C`compactDump\*(C'\fR and \f(CW\*(C`veryCompact\*(C'\fR options simultaneously. )