in reply to Re^14: Try::Tiny and -E
in thread Try::Tiny and -E
As I already said:
In this case feature "try" would need to warn about the subs in the caller's stash.
But that's also a convoluted edge case.
If one really needed to activate both Try::Tiny and feature try inside the same file - let's say while gradually refactoring legacy code - and wouldn't want to see the warning, it would be acceptable to require from the author to deactivate the warning class ( no warnings "shadow" or "mask" or whatever)
Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^16: Try::Tiny and -E (False Negative)
by ikegami (Patriarch) on Jan 03, 2026 at 16:52 UTC | |
by LanX (Saint) on Jan 06, 2026 at 21:20 UTC | |
by ikegami (Patriarch) on Jan 07, 2026 at 15:20 UTC | |
by LanX (Saint) on Jan 07, 2026 at 17:38 UTC | |
by ikegami (Patriarch) on Jan 08, 2026 at 16:33 UTC | |
| |
by LanX (Saint) on Jan 07, 2026 at 01:49 UTC |