|
|
| Do you know where your variables are? | |
| PerlMonks |
Re: return if definedby Athanasius (Vicar) |
| on Dec 20, 2012 at 12:02 UTC ( #1009727=note: print w/ replies, xml ) | Need Help?? |
|
Hello uncoolbob, and welcome to the Monastery! How about using the Conditional Operator?
Update: Or, better, just use Logical Defined Or:
Hope that helps,
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||