in reply to Re^5: Checking two scalars in Test::More $expected. It works, but is it proper?
in thread Checking two scalars in Test::More $expected. It works, but is it proper?

chromatic> I suppose I'm asking "What suggested to you that that syntax would do what you want?"
The process went something like this.
  1. Tried a bunch of things that failed.
  2. What else can I try?
  3. Hmm, I'm returning "x" and "y" from my subroutine, why not see what happens with "x" and "y" on the right side of the expression.
  4. Tried a few more things to find some common working scenarios. Didn't find any.
  5. It works but it doesn't look right, can't seem to find a direct example of subroutine testing.
    chromatic> "What did you want to accomplish?"
    Not a whole of deep thought, just wanted to compare the return values of my subroutine.
    chromatic> and you've done something here I've never seen before. That's fascinating to me.
    Yes, probably in a WTF kind of way. I'm saying this to be humorous with a smile on my face.
    • Comment on Re^6: Checking two scalars in Test::More $expected. It works, but is it proper?