I've already seen code binding 0 and 1 to false and true .
of course only in boolean context.
But I wouldn't be surprised if some people called Perl's use of 0 and 1 in these cases magic numbers.
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
In reply to Re^6: Perl vs Python revisited
by LanX
in thread Perl vs Python revisited
by QuillMeantTen
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |