All the Perl try/catch implementations suffer from significant deficiencies compared to an ideal syntax. I think Nice::Try comes closest to perfection. No extraneous semi-colons, it has a finally block, but best of all, it supports multiple catch blocks with exception filtering.
All the Perl try/catch implementations suffer from significant deficiencies compared to an ideal syntax. I think Nice::Try comes closest to perfection. No extraneous semi-colons, it has a finally block, but best of all, it supports multiple catch blocks with exception filtering.