Slash Boxes
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.
More | Login | Reply
Loading... please wait.
  • (but possibly I'm misunderstanding a limitation of T::D). With 0.47, for instance, I get

      perl -MTest::More=tests,1 -MTest::Differences
          -e'eq_or_diff [a => 1], [{a => 1}], "oops"'
      ok 1 - oops

    which is just as wrong. It happens because _flatten treats hashes as equivalent to arrays, and an array of one element as equivalent to a scalar.

    • Hmm, I'll try to look into this later, then. I must have screwed up somewhere and Mark Stosberg is off the hook :)