I don't easily say "use strict; use warnings;", because in most times it's said here on Perlmonks, it actually doesn't solve the problem being asked in anyway.
This here is different. Turning on strict and warnings, and finding out what the messages mean really does help you understand what is happening.
Comment on Re: Perl interpretor for conditional operator "?"