[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Omaha.pm] weee, I get to use perl again



On Aug 24, 2007, at 10:26 PM, Christopher Cashell wrote:
   use FindBin qw($Bin);
   use lib "$Bin";

   use vars qw($user $pass $url $ids_ver $max_events);
   require "ids_check.conf";

-additional deep pondering-

I really like this method when you will always know where your .pl files are in relation to your .pm libraries and .conf files...

I think I can't use it when I want people to be able to write their own .pl programs and run them from wherever they want using my .pm / .conf files...

Another example of my idea #2:

   http://seqlab.net/?page=install

Uses $ENV{SEQLAB_ROOT} and $ENV{SEQLAB_TMP}...

j