[Omaha.pm] weee, I get to use perl again
Jay Hannah
jay at jays.net
Sun Aug 26 07:02:15 PDT 2007
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
More information about the Omaha-pm
mailing list