in reply to empty 'else' block
As you can see, it's just a matter of personal taste :)
I personally like logan's answer. I often do that to debug my code and it's a pretty useful and easy way to find if your statement is valid.
BTW, I love "silly" questions like this, because altough it's a simple question, it generates excellent opinions on basic logic, wich is always a good thing. :)
Regards,
I personally like logan's answer. I often do that to debug my code and it's a pretty useful and easy way to find if your statement is valid.
BTW, I love "silly" questions like this, because altough it's a simple question, it generates excellent opinions on basic logic, wich is always a good thing. :)
Regards,
In Section
Seekers of Perl Wisdom