in reply to Data::Dumper(::Simple) is your friend

I love Data::Dumper and use it all the time, but I think that's not the lesson here. The real lesson is that whenever you print out a value for debugging, you should use clear delimiters. I often do the following:
print "foo=($foo)\n";

You can use whatever delimiters you want, of course, and the best delimiter depends on the kind of values you expect.

Replies are listed 'Best First'.
Re^2: Data::Dumper(::Simple) is your friend
by holli (Abbot) on Jul 05, 2005 at 07:29 UTC