Hi,
The 'set' command will work for a given cmd window (or always, if you run it in a batch file or 'system' call at the beginning of the script).
If you want to set it permanently, go to: control panel->system->advanced->environment variables and set PERL5LIB there. (This is on Win2K, but if I recall it's the same on NT4)
- perchance | [reply] |
In Windows, the starting path is stored in the registry, but not really documented as to where -- you can find it if you look, though. In general, you can use an environment variable (PERL5LIB I think) which is combined with that starting path. | [reply] |
| [reply] [d/l] |
| [reply] |
The current shipment of ActiveState (build 626) looks in HKLM\Software\Perl for values named PERL5OPT, PERL5LIB, PERLLIB, lib-5.6.1, lib, sitelib-5.6.1, and sitelib.
It also opens HKCU\Software\Perl many times, but doesn't check any values contained in it. Perhaps it only checks the Current User if it found something under Local Machine, but that seems a strange thing to do. It could just be buggy.
It does look at the location of the currently-run exe file, too, if it's in a /bin/ subdirectory (but not otherwise) and if the generated names actually exist.
—John
| [reply] |