|Pathologically Eclectic Rubbish Lister|
Why is $a.$b not = "$a$b"?by tel2 (Pilgrim)
|on Jul 14, 2020 at 23:10 UTC||Need Help??|
tel2 has asked for the wisdom of the Perl Monks concerning the following question:
I seek your wisdom re why the 4th one-liner below returns "Matches!". The other 7 one-liners behave as I would have expected. I thought $a.$b would be the same as "$a$b" in contexts like this - it seems to be with last 'eq' tests. Was I mistaken? If I print them the output looks the same.
I added blank lines above purely for readability.
I'm running Perl 5.16.3 on Linux.