in reply to Perl Bug? import function

For Module::SomeModule to load correctly, the following has to be true:
  1. There is a file called SomeModule.pm in a directory called Module. This is stackable. Thus, One::Two::Three means that the One/Two/Three.pm exists.
  2. Within SomeModule.pm, there is the following line:
    package Module::SomeModule;
  3. The directory Module is within one of the directories listed in @INC.
You can modify @INC by doing the following:
use lib '/Parent/Directory/Of/Module';
That's the cleanest way of specifying a directory where you want a set of modules to live.

------
We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.