Exceptions: Difference between revisions

Content deleted Content added
Line 705: Line 705:


=={{header|Perl}}==
=={{header|Perl}}==

Perl 5 does not actually support exceptions at all, but they can be simulated with:


# throw an exception
# throw an exception