Hello. The distinction between library (module) code and script code is important to my answer. I am now using scriptdist and a Vim (my Vi Improved editor) template to automate repetitive coding in my scripts. This is as much templating as I feel I need right now, and it is helping a lot.
If you wonder what is in the Vim template, it is the basic stuff like the perlstarter ("shebang") line and "use strict;" and so on. The scriptdist tool provides supporting files like a MANIFEST and all that (Makefile.PL notably) so that my naked scripts can become installable packages.
scriptdist is perl software by brian d foy and can be found on CPAN
id/B/BD/BDFOY/
Soren A / somian / perlspinr / Intrepid
P.S. Don't forget: I am expecting all the people the people who say I am
posting to Perlmonks for the XP to automatically downvote this posting w/o explanation, thanks.
-- Cynicism is not "cool" or "hip" or "intelligent". It's like Saddam Hussein's piss mixed with 004 grit and nitric acid. It's corrosive to everything it touches, destructive to human endeavors, foul and disgusting. And ultimately will eat away the insides of the person who nurtures it.
In reply to Re [0]: Perl Templates
by Intrepid
in thread Perl Templates
by ellem
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |