https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37895 Julian Maurice <julian.maurice@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |julian.maurice@biblibre.com --- Comment #3 from Julian Maurice <julian.maurice@biblibre.com> --- Shouldn't we add `use Try::Tiny` at the beginning ? By the way, how does this work with Perl builtin try/catch which is not experimental since 5.40 ? Has anyone tried ? IIUC it's not enabled by default but can be enabled using `perl -E ...` which I sometimes use. Also curious about why SQL14's example treats the error in finally instead of catch. Is this the recommended way to deal with exceptions (and if so, do you know why ?) or can we use catch ? -- You are receiving this mail because: You are watching all bug changes.