|
|
| Pathologically Eclectic Rubbish Lister | |
| PerlMonks |
Re: Bitwise & not working correctly in CGI scriptby Jenda (Monsignor) |
| on Jun 13, 2012 at 15:35 UTC ( #975999=note: print w/ replies, xml ) | Need Help?? |
|
The thing is that Perl did not convert the string (keys of a hash are ALWAYS strings, even if you used numeric literals when filling it in.) to a number and instead it evaluated a bitwise AND on the characters of the strings. Jenda
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||