It appears the whitespace here is not uniform, like perhaps using tabs instead of 4 space indents as you'll find in all the other code in the the project. Alternatively, you can run perltidy with [this config file](https://github.com/msimerson/NicTool/blob/master/.perltidyrc) to clean up the formatting for you.