in reply to Validation: is defined whether the variable?

Note that Perl has the built in function defined to make exactly the test you seem to want. If you replace isDef with defined the result will be as you seem to want.

True laziness is hard work
  • Comment on Re: Validation: is defined whether the variable?

Replies are listed 'Best First'.
Re^2: Validation: is defined whether the variable?
by Anonymous Monk on Aug 07, 2011 at 12:24 UTC
    Um, thanks, the OP already received/accepted that answer :)