>>I've been pounding perldoc for a while this morning trying to find a >>clear technique described to add directories to @INC (permanently). > >>I'm sure its described somewhere but I'm not finding it. > >>I know about the -I switch method but wanted to add certain >>directories permanently so perl -V will display them. > > Perhaps you may need to reinstall if you don't want to use -I !!
>Sorry Shishir, but I'm a little mystified by your answer. Are you >saying there is no way to permanently add directories to @INC, or >maybe that -I does that? >How will a reinstall help? >As far as I know, @INC gets it's value during installation and can't be changed >runtime. >Every time a new version is installed, the path(if new ) gets added to @INC. I am not >sure >if even -I will work if the parent path for your directory is not included >in @INC. Sorry..I take back my words on -I. The -I will treat the directories as appended to @INC during runtime but won't change @INC. Another way would be to use pragma use lib "/path" in your script. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]