I know Perl recently got try / catch. What version of Perl though shipped with it?
try
catch
experimental
Perl 5.36 added native support for finally.
finally