|
|
| Pathologically Eclectic Rubbish Lister | |
| PerlMonks |
Re^2: Perl allows you to change the definition of false to make it true. (And vice versa.)by tobyink (Monsignor) |
| on Dec 14, 2012 at 15:14 UTC ( #1008858=note: print w/ replies, xml ) | Need Help?? |
|
AFAIK, only true, false and undef. I thought perhaps "0 but true" might work (as that has special handling - it doesn't warn if used in numeric context) but no joy.
perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
In Section
Meditations
|
|
||||||||||||||||||||