in reply to Try::Tiny - return in catch from sub

The argument to catch is a sub. You're returning from that sub. This is documented in the Try::Tiny manual page. It also suggests to use TryCatch if you want to return from the try/catch blocks.
  • Comment on Re: Try::Tiny - return in catch from sub