Follow the wise advice to read other's working code to learn from the beginning a perlish Perl, an idiomatic one. Consider to read a quite old but very usefull book:
The cookbook approach was the best i found during my first years with Perl.
There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.