Thursday, April 30, 2009

Install perl module for perl package manager (PPM) on Windows

I wrote a Perl script to do some formatting for my Auto Accessories Yahoo store. In order to do it, I will need to install TEXT::CSV_XS module to perl package manager (PPM). After search on the internet, I can not find a exact instruction on how to do it. With several tries, I finally get it done and here is the procedure:

1. Download Windows Perl module from http://ppm.activestate.com/PPMPackages/zips/8xx-builds-only/Windows/

2. unzip the file and put it in a directory. I use c:\tmp

3. Add the directory to PPM repository by running the following in Windows command window:
c:\ ppm repo add C:\tmp tmp

4. Install the module:

c:\ ppm install TEXT::CSV_XS

Hope this helps.

Bryan