in reply to Re^3: Is it possible to store an arthimetric operator in a variable?
in thread Is it possible to store an arthimetric operator in a variable?

Boolean false isn't undef. Notice the lack of warnings in the following snippet:
>perl -we "print(1==2)" >
  • Comment on Re^4: Is it possible to store an arthimetric operator in a variable?
  • Download Code

Replies are listed 'Best First'.
Re^5: Is it possible to store an arthimetric operator in a variable?
by Adam (Vicar) on Jul 19, 2005 at 15:23 UTC
    Sorry, you are right. It's "", which is just as useless in debugging... (it's been so long that I wrote a boolean function where I didn't use 0 that I forgot. Thank you.)