Re: [log4perl-devel] log4perl Data::Dumper and renaming $VAR1

2010-04-09 Thread Josh803316
Thanks, that worked like a charm! Just for my own edificationwhat is the real difference between the filter method and the sub method or are they basically the same? On Fri, Apr 9, 2010 at 1:20 AM, Mike Schilli wrote: > On Fri, 9 Apr 2010, Josh803316 wrote: > > $logger->tr

[log4perl-devel] log4perl Data::Dumper and renaming $VAR1

2010-04-08 Thread Josh803316
I often use Data::Dumper like this: print Data::Dumepr->Dump([$name],['name']); # Which will dump with the variable $name = { } instead of $VAR1 = { ... } I use log4perl and Data::Dumper like this (from the log4perl faq) $logger->trace( {filter => \&Data::Dumper::Dumper, value => $name},