Exception handling syntax: Difference between revisions

Content deleted Content added
m Moved to subcat
[[Perl]]: Perl uses die to throw
Line 209:
<pre>
eval {
# Code that could throw an exception (using 'die')
}
if($@){