then system @INC will be changed. I want use my modules without changing global system variables.
The @INC array isn't global to the system, but rather local to every Perl program. So, no worries. And yes, it works with Strawberry, too.
| [reply] |
use lib 'my/mymodulespath';
A small tip, you might like to consider using absolute path names rather than relative. The path given will be relative to the current directory when the program is run, which is often not the same as the directory in which the script is stored. For example: use 'C:/program/lib/module';
| [reply] [d/l] |