Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • I find print much more useful when used with Data::Dumper. Whenever I program in something other than Perl (my job is mostly C++ coding), I find myself missing Data::Dumper, and recreating it in limited ways.

    I much prefer visually scanning through Dumper($foo) to clicking through some elaborate tree view in a GUI debugger.
    • For some reason ptkdb was failing with wierd errors when it got to the point of the problem, so I was not using that.

      I was using Data::Dumper in a lot of places, but by the time I thought to see what was in the scalar variable (usually not a candidate for a Dumper() call), I knew what the problem was.

      Indeed, there were all sorts of signs of what was happening, and everything got clouded because my starting point was wrong: URI objects will always do the right thing with LWP, but that was not the case. :)