in reply to Re^2: Undef and Unitialized Issue
in thread Undef and Unitialized Issue
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.
|
|---|