http://www.perlmonks.org?node_id=55774


in reply to use strict;

I suspect you are not using semi-colons at the end of your lines.