Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Creating new perl modules.

by murugu (Curate)
on Oct 26, 2005 at 05:22 UTC ( [id://502949]=note: print w/replies, xml ) Need Help??


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(;;);

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://502949]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-19 21:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found