Perl Monk, Perl Meditation | |
PerlMonks |
Re: (Guildenstern) Re: "Obviously, You Will Need a Java Course..."by McD (Chaplain) |
on Apr 04, 2001 at 20:20 UTC ( [id://69719]=note: print w/replies, xml ) | Need Help?? |
Guildenstern writes: I'm not sure if Perl supports error handling in the same manner (try and catch, or similar), but I'm sure somebody here can clue me in. darobin mentions this below - use eval BLOCK with die to catch and throw exceptions: Peace, -McD Update: merlyn is right, of course - forgot the ";". Curse my flying fingers! :-)
In Section
Perl Monks Discussion
|
|