in reply to undef and empty variables
However you should use warnings because it will catch other things, and so should include the defined check to avoid that warning. Furthermore think carefully about your data. It could be that "" is a valid value. Therefore my natural inclination would be to keep "" as a valid value, and map undef to null.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: undef and empty variables
by herveus (Prior) on Jan 19, 2011 at 17:15 UTC | |
by tilly (Archbishop) on Jan 19, 2011 at 18:03 UTC |