Version 2, fixing v1 before jumping to the tasks

I want to improve the first version incorporating some of the good
Sidd’s lessons.
- Use perltidy
- Removing unnecessary comments
- Modify scalars
- Improve perldoc
- Use a better I/O filehandle