in reply to Re: Object::InsideOut field type validation
in thread Object::InsideOut field type validation
Having said that, the problem can be removed by including no warnings; in the code ...
gets rid of the problem ... or at least allows a different problem to surface in my test harness ;-)sub validate_max_size { my $val = shift; no warnings; ! defined $val || $val > 0; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Object::InsideOut field type validation
by gone2015 (Deacon) on Feb 05, 2009 at 20:51 UTC |