Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Error Handling.by fjaenale (Acolyte) |
on Sep 28, 2004 at 07:18 UTC ( [id://394480]=perlquestion: print w/replies, xml ) | Need Help?? |
fjaenale has asked for the wisdom of the Perl Monks concerning the following question:
Hello:
I have a question about this piece of code (I know is the same as my last post):
-- EDIT: Sorry there is a mistake on the print intruction. I am adding the parenthesis, in the real code it calls a function.--
I just want to know if the way I handle the error is correct. After thte "or" I separate the instructions with ","; I have been told that this is a risky practice. I just want to know if this is really a risky practice or is ok to use the "," as separators.
In case there is a better less risky way, what would be that way?.
Back to
Seekers of Perl Wisdom
|
|