hi guys, i'm currently working on a perl web app LAMP style and recently stumbled upon this death maze of code left by some previous developer. He left so many magic numbers and weird logic that it's gives me a headache everytime i had to go through it.
I'm learning unit testing right now so i want to find some useful tool to refactor the code and write unit test along the way to make sure that i don't accidentally break anything.
Any recommendation for any good refactoring tool for LAMP perl? Preferably free :)
Thanks.