in reply to Creating new perl modules.

Hi nisha,

If im not wrong, Usually perl will search for the modules in the locations which are all mentioned in @INC array.

As your modules are loaded during compile time, you need to mention the location during compilation time.

BEGIN { unshift @INC,"whateverpath you are moving your pm files"; }

Then run your code. This may help you.

Regards,
Murugesan Kandasamy
use perl for(;;);