B::Lint doesn’t like while (<>) {do stuff}, docs show nasty injection attack due to its internal use of the evil 2 argument open. Is there an easy way to make this usage safer? I have a lot of minor scripts that use this.
B::Lint doesn’t like while (<>) {do stuff} , docs show nasty injection attack due
Share
You can use ARGV::readonly. It will allow for safer usage of the diamond operator.