go ahead... be a heretic | |
PerlMonks |
Re: Re: Re: Style Point: Catching eval { } errorsby IlyaM (Parson) |
on Nov 25, 2003 at 15:41 UTC ( [id://309935]=note: print w/replies, xml ) | Need Help?? |
You can get closer with Error, but it has other problems.
Given than Exception uses closures like Error I doubt it doesn't have these "other" problems too. The main problem is that currently the only way to add try/catch syntax to Perl without core changes it is to use closures what may cause memory leaks if you are not careful.
--
In Section
Meditations
|
|