Please take this as constructive criticism. You should really learn how to read the documentation that come with Perl and with the modules that you use.
You'll get more out of Perl but more importantly there will be times when you'll need an answer quickly and you can't come here to ask.
You may also want to look at the tutorials section on this site. Heres the tutorial on strict which covers your question :).