https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31602 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au --- Comment #2 from David Cook <dcook@prosentient.com.au> --- On https://metacpan.org/pod/Syntax::Keyword::Try, the author points out that try/catch/finally was (finally) added to Perl 5.34 (released May 20 2021) and that Feature::Compat::Try should be used for new code It looks like Perl 5.34 is used in Ubuntu from 22.04 onward. In Debian, it's in bookworm/testing. Although it looks like the "try" feature is still marked as experimental: https://perldoc.perl.org/feature#The-'try'-feature. Looks like Syntax::Keyword::Try has some issues with Perl older than 5.24 (https://metacpan.org/pod/Syntax::Keyword::Try#$@-is-not-local'ised-by-try-do-before-perl-5.24) but I don't think we support any OS that has a Perl that old. Syntax::Keyword::Try/Feature::Compat::Try sound pretty interesting. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.