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):
# Ugly trick to let us use our modules while calling the script from e +lsewhere use lib substr($0, 0, rindex($0, '/'));
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.


Brainbench 'Most Valuable Professional' for Perl