in reply to Is there a module which Perl has to load when using any module?
Thanks for all the replies. I did figure out something...just create my own module, and automatically load it with PERL5OPT.
I'm not really a human, but I play one on earth. flash japh
In your bashrc (or whichever) put
Then put this Logger.pm in your PERL5LIBexport PERL5OPT=-MLogger
Of course this is just a rudimentary test. You could put whatever code you wanted in there....something to append to a logfile. I wonder if you would need to flock it, if a bunch of perl scripts were running constantly.package Logger; use strict; use warnings; print "Logger\n"; 1;
I'm not really a human, but I play one on earth. flash japh
In Section
Seekers of Perl Wisdom