newbie01.perl has asked for the wisdom of the Perl Monks concerning the following question:
Hello to the Perl Highness ... :-)
Am not really sure whether I want modules or libraries. Am very confused so hopefully I can find the answers here.
I have several Perl scripts that are currently running as cron jobs. I want to be able to combine them as some sort of module or library or package instead that I can just call from another Perl script.
That is, for example, if I have a script script01 that remove old files and script script02 that monitors filesystem space. I want to be able to pout these two scripts into some sort of module or library that I can just invoke from another script that make require them. Is this possible or am I talking about senseless stuff here.
Your guidance will be very much appreciated
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to creater your own Perl modules/libraries?
by cdarke (Prior) on Nov 20, 2009 at 08:48 UTC | |
by JadeNB (Chaplain) on Nov 21, 2009 at 17:29 UTC | |
by newbie01.perl (Sexton) on Nov 23, 2009 at 10:36 UTC | |
by JadeNB (Chaplain) on Nov 23, 2009 at 12:31 UTC | |
by newbie01.perl (Sexton) on Nov 23, 2009 at 10:34 UTC | |
|
Re: How to creater your own Perl modules/libraries?
by zentara (Cardinal) on Nov 20, 2009 at 13:34 UTC |