in reply to Object::InsideOut field type validation
Note that you used
! defined $val || $val > 0
in one place and
! defined $v or $v > 0
in the other.
Argument "undef" isn't numeric in numeric gt (>)
That's not a Perl message. Perl 5.6 to 5.10 all return
Use of uninitialized value in numeric gt (>)
Update: LOL! As oshalla points out, this is the warning you get for the string 'undef', as opposed to an undefined value.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Object::InsideOut field type validation
by Bloodnok (Vicar) on Feb 05, 2009 at 19:49 UTC | |
by gone2015 (Deacon) on Feb 05, 2009 at 20:51 UTC |