in reply to CGI script organisation
This is a list of easy to use places you should be able to stick a .pm file. For kicks lets usesomeuser@somebox:~$ perl foreach $entry (@INC) { print "$entry \n"; } /usr/lib/perl5/5.6.1/i686-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i686-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl .
This will then scope your functions that you need to your current namespace. Have fun. Also read up on packaging to add another layer of power :). BTW mediators, if I am off a little on my logic, take it easy on me, is late :).#!/usr/bin/perl -T use whatever; #that pre .pm name of the file you used
|
|---|