You are correct, I was thinking of where I use delete($input) || '' to ensure a defined value and "0" is not a concern. The second form you present (using ?:) is more correct in the general case.
As for using an "ancient version of Perl" I don't have a choice at $work, we are stuck on 5.8.9 for at least a few more months.
In reply to Re^3: Undef and Unitialized Issue
by boftx
in thread Undef and Unitialized Issue
by Pharazon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |