Using Try::Tiny for exception handling