> Hi Ted, > Is there a way to permanently push a library path into the perl @INC > variable?I am unable to remember off the top of my head.
Hi Prath, This is a good general question that seems to come up every now and then, so I'm going to reply at a little more length than is necessary and send to the group list. If you want it add a directory permanently to @INC, you can set the PERL5LIB in your .cshrc file. For example, I do something like this in my .cshrc setenv PERL5LIB /home/cs/tpederse/Test You can check if this worked by doing perl -V which will show the @INC variable. Of course you must log out and back into your shell (or do "source .cshrc") to see the effect of that. I *think* this is the best and most standard way to do that, but if anybody else has other ideas please feel free to chime in. BTW, the @INC variable specifies the include path for Perl modules, so this is where perl will go to look when you use a module in your program. Modules that are installed by the system administrator are usually found in system directories and we don't need to think about that (as those are included in @INC by default) but when we start to install or test or own modules, things get a bit more complicated. You can read more about local installs of Perl modules here: http://groups.yahoo.com/group/nlpatumd/message/362 This gets into other issues like setting @INC temporarily (via the -I option) and how the PREFIX option is handled in perl Makefile.pl installations. -- Ted Pedersen http://www.d.umn.edu/~tpederse ------------------------ Yahoo! Groups Sponsor --------------------~--> $9.95 domain names from Yahoo!. Register anything. http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/x3XolB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/nlpatumd/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

