in reply to Re: Catching error in DateTime::Format
in thread Catching error in DateTime::Format

t/Util.t line 298 is the "is ($bogus_datetime...." line in the "The test script now has this" in my original post.

The app is based on Catalyst, if that affects things. The test module (i.e. t/Util.t) doesn't use anything other than Test::More, though, and doesn't seem to be doing anything fancy; that is, it doesn't look to me like it's using $SIG or overriding other modules.

  • Comment on Re^2: Catching error in DateTime::Format

Replies are listed 'Best First'.
Re^3: Catching error in DateTime::Format
by ikegami (Patriarch) on Oct 28, 2025 at 14:04 UTC

    No, the line had the die; you've since mentioned you had.