http://www.perlmonks.org?node_id=1211198


in reply to Re^6: Hash key composition with a comma?
in thread Hash key composition with a comma?

I haven't researched this, but a coworker just suggested to me that a credible cause of this in the wild might be some unicode pollution in input expected to be ascii.

If she's right, perhaps it's not so far-fetched.

-sauoq
"My two cents aren't worth a dime.";
  • Comment on Re^7: Hash key composition with a comma?

Replies are listed 'Best First'.
Re^8: Hash key composition with a comma?
by choroba (Archbishop) on Mar 18, 2018 at 17:57 UTC
    I'm not sure about other encodings, but in UTF-8, all non-ASCII characters are represented by bytes > x7F, so x1c can't occur.
    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,