I second using PAR. I wrote a tutorial for windows but it should be enough to get you started on Linux.

In reply to Re^2: Distributing perl with perl scripts by superfrink
in thread Distributing perl with perl scripts by g_speran

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":