mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
75b09fa110
- This module allow the user to dump variables in a Data::Dumper format. PR: ports/71508 Submitted by: clsung Approved by: co-mentor (vanilla)
18 lines
812 B
Plaintext
18 lines
812 B
Plaintext
This module allow the user to dump variables in a Data::Dumper format.
|
|
|
|
Unlike the default behavior of Data::Dumper, the variables are named
|
|
(instead of $VAR1, $VAR2, etc.) Data::Dumper provides an extended
|
|
interface that allows the programmer to name the variables, but this
|
|
interface requires a lot of typing and is prone to tyops (sic). This
|
|
module fixes that.
|
|
|
|
Data::Dumper::Simple is actually a source filter that replaces all
|
|
instances of Dumper($some, @args) in your code with a call to
|
|
Data::Dumper->Dump(). You can use the one function provided to make
|
|
dumping variables for debugging a trivial task.
|
|
|
|
Note that this is primarily a debugging tool. Data::Dumper offers a
|
|
bit more than that, so don't expect this module to be more than it is.
|
|
|
|
WWW: http://search.cpan.org/dist/Data-Dumper-Simple/
|