in reply to Re^7: Try::Tiny and -E
in thread Try::Tiny and -E
In the OP's example Try::Tiny is activated first and can't know about a later feature.
I think it can check correctly, but I'm not sure. If it can, it can do so regardless of whether it was loaded first or not. And if it can, it's not trivial.
More importantly, is it even its job? After all, the following doesn't warn:
sub print { ... } print ...;
Maybe this is something Perl::Critic can handle.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^9: Try::Tiny and -E
by LanX (Saint) on Dec 30, 2025 at 03:10 UTC | |
by ikegami (Patriarch) on Dec 30, 2025 at 05:06 UTC |