Definitely learn how to use
ptkdb the Tk front end to the perl debugger. Google for it, and you will find a number of good tutorials on how to use it. It allows you to graphically watch variables as you step thru your program. (P.S. Don't forget to save your watchpoint-setups for each file, else you need to redo them everytime you open the file).
I'm not really a human, but I play one on earth.
flash japh