Logical XOR
Logical XOR
Posted Jun 10, 2024 18:20 UTC (Mon) by smurf (subscriber, #17840)In reply to: Logical XOR by pbonzini
Parent article: perl v5.40.0 released
On the other hand, I haven't programmed anything Perl-ish for the last 15 years, so what do I know?
Posted Jun 10, 2024 19:33 UTC (Mon)
by mathstuf (subscriber, #69389)
[Link]
Posted Jun 10, 2024 20:21 UTC (Mon)
by rweikusat2 (subscriber, #117920)
[Link] (1 responses)
0 != "a"
is false but
!0 != !"a"
is true.
Posted Jun 11, 2024 19:22 UTC (Tue)
by jwilk (subscriber, #63328)
[Link]
Since v5.36, it kinda has:
https://perldoc.perl.org/perl5360delta#Stable-boolean-tra...
Logical XOR
Logical XOR
Logical XOR