Make CPAN modules. Seriously.
First, of course, you need to decide what functions will
become library "methods" and take the time to design your
classes. You don't even need to make full blown OO classes,
just enough to be able to 'use' them in your client scripts.
Then, read perlnewmod and learn how to make
CPAN modules (also take a gander at Module::Build).
Once you have a tar ball, you can install it on any box
that you need (root access is best). You can even make your
own local "in-house" CPAN mirror site that only contains
your modules, if you like. Then you just configure the
CPAN.pm cpan shell command to fetch from it. Now
updating and installing new modules is a breeze.
One thing to consider however ... maybe all of these
'utility functions' that you want to incorporate already
exist in one CPAN module or another. Since i really
started using the CPAN, i find that most of my code is
small scripts that just glue existing modules together.
| [reply] |
thanx, how to make my own small CPAN.. do u have a link..
| [reply] |
| [reply] |