The question is whether or not using the (3 and 4) in the $expected position is the proper way to do this?
It's not, but what do you expect Perl to do with the expression (3 and 4)? What part of what Perl did do with it surprised you?
In reply to Re: Checking two scalars in Test::More $expected. It works, but is it proper?
by chromatic
in thread Checking two scalars in Test::More $expected. It works, but is it proper?
by gctaylor1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |