actually the second comparions should be an eq. I mistyped.
I just not believe the behaviour is not well defined as my coworker says. Because string will act like integer for Hex based like 'A', and we can do + - * / on it. I do not see why Perl is unable to do that for ==. Any Perl language specification reference to this? I want to convince her.
Thanks