pg has asked for the wisdom of the Perl Monks concerning the following question:
I hope Dumper can simply tell me the truth, not to play smart, and confuse me. Although that \\ makes sense to me now, but what is the benefit to display in this way?use Data::Dumper; $hash = {1 => "(\\d+)"}; #the value is (\d+) print "result from print Dumper:\n"; print Dumper($hash); #which prints (\\d+), this really confused me print "\n"; print "actual value stored:\n"; print $hash->{1};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
•Re: Data::Dumper style
by merlyn (Sage) on Dec 08, 2002 at 04:40 UTC | |
by demerphq (Chancellor) on Dec 08, 2002 at 10:04 UTC | |
|
Re: Data::Dumper style
by demerphq (Chancellor) on Dec 08, 2002 at 10:22 UTC | |
|
Re: Data::Dumper style
by tadman (Prior) on Dec 08, 2002 at 04:37 UTC |