Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Catching error in DateTime::Format

by ikegami (Patriarch)
on Oct 27, 2025 at 20:42 UTC ( [id://11166605]=note: print w/replies, xml ) Need Help??


in reply to Catching error in DateTime::Format

Something is using $SIG{__DIE__} or $SIG{__WARN__}, or something is overriding Carp::croak or die, or something is printing $@, or ...

What's at t/Util.t line 298? That's from where the exception is thrown.

Replies are listed 'Best First'.
Re^2: Catching error in DateTime::Format
by Anonymous Monk on Oct 27, 2025 at 21:11 UTC

    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.

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11166605]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2026-02-10 08:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.