Modern-Perl icon indicating copy to clipboard operation
Modern-Perl copied to clipboard

Consider disabling indirect

Open ghost opened this issue 5 years ago • 0 comments

Hello. As of Perl 5.031009, it is possible to disable indirect method calls outright.

no if $] >= '5.031009', feature => 'indirect';

It occurred to me that this newly acquired capability might be a good fit for this module because indirect syntax is perilous and best avoided in modern code. Further, it appears unlikely that it will end up being part of a :5.32 feature bundle, which is a pity, I think.

ghost avatar May 20 '20 09:05 ghost