The following module was proposed for inclusion in the Module List: modid: Data::Dumper::Lazy DSLIP: bdpfp description: Easily dump variables with reliable names userid: LANX (Rolf Langsdorf) chapterid: 6 (Data_Type_Utilities) communities: perlmonks.org
similar: Data::Dumper::Names Data::Dumper::Simple rationale: 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 typos (sic). (paragraph copied from Data::Dumper::Simple's abstract) The variables have to be passed within a code-block i.e. surrounded by curlies. Their names are gathered by inspecting the op-tree the block's op-tree with the help of B::Deparse. This avoids the limitations of Data::Dumper::Simple (using Source Filter) and Data::Dumper::Names (using PadWalker). enteredby: LANX (Rolf Langsdorf) enteredon: Mon Nov 3 23:25:23 2014 UTC The resulting entry would be: Data::Dumper:: ::Lazy bdpfp Easily dump variables with reliable names LANX Thanks for registering, -- The PAUSE PS: The following links are only valid for module list maintainers: Registration form with editing capabilities: https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=12010000_dc1b98c7a6f290fc&SUBMIT_pause99_add_mod_preview=1 Immediate (one click) registration: https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=12010000_dc1b98c7a6f290fc&SUBMIT_pause99_add_mod_insertit=1 Peek at the current permissions: https://pause.perl.org/pause/authenquery?pause99_peek_perms_by=me&pause99_peek_perms_query=Data%3A%3ADumper%3A%3ALazy