May 26, 2018
Easily dump variables with names
This module allow the user to dump variables in a DataDumper format.
Unlike the default behavior of DataDumper, the variables are named instead of $VAR1, $VAR2, etc. DataDumper 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.
DataDumperSimple is actually a source filter that replaces all instances of Dumper$some, @args in your code with a call to DataDumper->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. DataDumper offers a bit more than that, so don’t expect this module to be more than it is.