in reply to Re: check undef
in thread check undef
return 0 has a potentially dangerous effect. It will evaluate as true if your subroutine is called in list context. Just a bare return is usually a better idea.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: check undef
by ikegami (Patriarch) on Jun 23, 2009 at 12:16 UTC |