Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding to @INC without modifying existing scripts

Status
Not open for further replies.

bcheong

IS-IT--Management
Jan 9, 2001
8
JP
Hi all,

Is there a way to add to @INC without modifying our existing scripts. This is because the directory of some of the libraries has moved to a different directory and as there are a lot of existing scripts, I would like to avoid modifying each one of them.

Would appreciate it if anyone could provide some pointers.

Cheers,
Ben
 
If you're on a Unix-type system, you can store extra module directories in your PERL5LIB environment variable.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top