in reply to Where the perl scripts live...
Noting that I do not necessarily recommend this procedure, yet use it on occasion (in an environment where I implicitly trust the user - me):
I now have access to the script's directory and can use modules located there, even though I was in another directory when I executed the script.# Ugly trick to let us use our modules while calling the script from e +lsewhere use lib substr($0, 0, rindex($0, '/'));
$Pretty--
$Effective++
Russ
Brainbench 'Most Valuable Professional' for Perl
In Section
Seekers of Perl Wisdom