If you want Perl's internal value for false˛ to be mapped to 0 you have to do a $porter ||= 0DB<9> use Data::Dump "dd" DB<10> dd { true => !0, false => !1 } { false => "", true => 1 }
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
In reply to Re: Why my variable is not 0 ?
by LanX
in thread Why my variable is not 0 ?
by pcouderc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |