The consensus of the Perl community seems to be that Try::Tiny
is the preferred way to handle exceptions.
Perl 5.14 (which is the version I use) seems to solve the issues with eval
that Try::Tiny
addresses. Will Try::Tiny
still provide any benefits for me?
转载于:https://stackoverflow.com/questions/10364975/is-trytiny-still-recommended-for-exception-handling-in-perl-5-14-or-later