By default perl is extremely forgiving and tries to do what you mean.  Sometimes this is desireable, but normally you want perl to be strict and catch the mistakes you make.  Save yourself a lot of debugging time by always using both strict and warnings.