Hi; What is the correct path separator for "use lib" in a Perl program on Windoze when I have multiple paths?
What is the correct path separator when using PERL5LIB on Windoze? Apparently a colon is not a good choice as that is the Windoze separator between drive/partition names and the path(s)... Use a semi-colon like in the Windoze PATH environment variable? I have installed ActiveState Perl in "C:\Documents and Settings\login_name\My Documents\ActivePerl_5.8.7.815". I have a DOS batch file with my modified PATH variable and PATHEXT variables in it representing this location of Perl. I'd like to add PERL5LIB variable to this batch file so that XML::Simple (and many other modules I'd like to use) is/are present. Thanks, Ken -----Original Message----- From: Chas Owens [mailto:[EMAIL PROTECTED] Sent: Friday, January 20, 2006 10:17 AM To: Wolcott, Kenneth A Cc: beginners@perl.org Subject: Re: still confused on how to locally install perl modules without administrative privileges on windows (activestate 5.6.1 build 630) On 1/20/06, Wolcott, Kenneth A <[EMAIL PROTECTED]> wrote: > Hi; > > It would be really nice if there was a clear, precise, concise, > accurate and simple instruction of how to install Perl modules locally > (non-privileged accounts) on Windows systems. > snip > I really can't use ppm from activestate (can't seem to control install > location). snip It looks like you can use ppm. Here is how I did it. 1. run cmd 2. create a directory named perl in your profile's directory (C:\documents and settings\user) 3. run ppm 4. at the prompt type "target set root <DIR>" where <DIR> is the perl directory you just created (example: target set root C:\DOCUME~1\COWENS~1.ISP\perl) 5. type "install <PACKAGE>" where <PACKAGE> is the name of the module you want installed 6. type "quit" 7. enjoy the moduley goodness You will probably need to set PERLLIB environmental variable to the newly create path or hard code the path in with 'use lib' in the scripts. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>