|
|
|
|
|
by chromatic
2552 days ago
|
|
I'm not going to count eval(...) as exception handling as a language feature in Perl 5. :) You should. It's a perfectly valid exception handling mechanism. It's unfortunate that the name "eval" is overloaded for two separate behaviors: * catch exceptions thrown as strings or objects
* compile and execute code from a string
Other than the name, they're different behaviors. |
|