josh803316 has asked for the wisdom of the Perl Monks concerning the following question:
# Which will dump with the variable p = {} instead of $VAR1 = {}warn Data::Dumper->Dump([$p],['p']);
So my question is, how can I dump the value so it looks like $variable_to_dump instead of $VAR1?$logger->trace( {filter => \&Data::Dumper::Dumper, value => $variable_ +to_dump }, undef, $TRACE, undef, undef );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Log4perl, Data::Dumper and varname
by Anonymous Monk on Apr 09, 2010 at 02:27 UTC | |
by josh803316 (Beadle) on Apr 09, 2010 at 06:09 UTC | |
by Anonymous Monk on Apr 09, 2010 at 06:59 UTC | |
by josh803316 (Beadle) on Apr 09, 2010 at 15:48 UTC |