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.
In reply to Re^8: Try::Tiny and -E
by ikegami
in thread Try::Tiny and -E
by 1nickt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |