It seems like you might be looking to change Perl's default @INC,
which would take a re-compile.
However, if you're looking for an answer like presented
above, you might want to try:
use lib qw(/path/to/add /another/path/to/add);
Using lib is a more simple way of doing what has been suggested by those who have posted before me.
It hides the details of the BEGIN block, but it is essentially the same.
Hope this helps!
--
jwest
-><- -><- -><- -><- -><-
All things are Perfect
To every last Flaw
And bound in accord
With Eris's Law
- HBT; The Book of Advice, 1:7