in reply to Re^18: Try::Tiny and -E (False Negative)
in thread Try::Tiny and -E
And I prefer to see the warning at the line where the use appears, not the one with conflicting 'try {}'.
In general any module exporting subs that conflict with potential built-ins should check at import time.
The needed code to check the hint-hash should be refactored from feature.pm into a separate module.
Like this no modules need to be patched.
Not sure if this is not an overkill tho.
Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^20: Try::Tiny and -E (False Negative)
by ikegami (Patriarch) on Jan 08, 2026 at 16:33 UTC | |
by LanX (Saint) on Jan 08, 2026 at 21:55 UTC |