Other things you should use for debugging:
At the very least you should have:
^^ up top ^^
All material Copyright © 2002 Barbie, except where stated. The use of the camel image in association with the Perl language is a trademark of O'Reilly Media Inc. Used with permission.