in reply to Re^10: Try::Tiny and -E
in thread Try::Tiny and -E
If use Try::Tiny sees "feature_try" in the callers hint hash it can (at least) warn.°
And if use feature "try" sees "try", "catch" or "finally" in the callers stash it can warn.
Elaborate edge cases for false positives and false negatives please.
What I suggested are well defined compile-time actions.
Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery
°) IMHO it should die, but this is open to debate.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^12: Try::Tiny and -E
by ikegami (Patriarch) on Jan 02, 2026 at 09:36 UTC | |
by LanX (Saint) on Jan 02, 2026 at 13:18 UTC | |
by ikegami (Patriarch) on Jan 02, 2026 at 17:07 UTC | |
by LanX (Saint) on Jan 02, 2026 at 20:48 UTC | |
by ikegami (Patriarch) on Jan 03, 2026 at 16:52 UTC | |
| |
by LanX (Saint) on Jan 02, 2026 at 20:17 UTC | |
by ikegami (Patriarch) on Jan 03, 2026 at 16:57 UTC | |
|