in reply to How do I use a module?

or you could try this:

sub BEGIN { push(@INC, "/try/looking/here"); #and other amazing tricks }

what the "BEGIN" subrouteen does is allow you to execute code BEFORE the script is compiled. This can allow you to do any pre-initialization you need to do for the script.

little_mistress@mainhall.com