Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix IO-related perlcritic warnings #10
This PR updates the code to use the three argument form of
This PR is submitted in the hope that it is helpful. If it can be improved upon or needs to be updated, please just let me know and I'll update as required and resubmit.
I noticed a potential issue in
It looks like the if/elsif is parsing two different types of file. In the first case, the file will get closed, but in the second, it doesn't. Moving the close outside of the if seems like the right step, so I'll do that after merging this PR. Thanks for bringing it up.