in reply to Re: ||= oddity
in thread ||= oddity

As an aside: Arrays are treated in the same way when doing smart matching:
use feature qw(say); say qq(no match) unless (1, 4, 18) ~~ 4; say qq(match) if (1, 4, 18) ~~ 18;
results in
no match match
I tripped over this, too, see http://www.perlmonks.org/?node_id=687969.