Connecting Tech Pros Worldwide Help | Site Map

Perl on Windows

Member
 
Join Date: Jan 2007
Posts: 55
#1: Sep 18 '07
I want to know
1. How to install modules on windows.
2. Where are the .pm files are getting generated after installation
3. where to search for the modules for windows
numberwhun's Avatar
Site Moderator
 
Join Date: May 2007
Location: New Hampshire
Posts: 2,565
#2: Sep 18 '07

re: Perl on Windows


Quote:

Originally Posted by rahatekarabhijeet

I want to know
1. How to install modules on windows.
2. Where are the .pm files are getting generated after installation
3. where to search for the modules for windows

Your first question can be answered by the CPAN FAQ. For windows, you would use the ppm (Perl Package Manager) that came with the Active State distribution.

Your second question, I am not 100%, but I believe that each module has its own directory under c:\perl\lib and under there are the .pm files.

Your third questions, you want to search for modules on CPAN, which is the Perl module repository.

Regards,

Jeff
KevinADC's Avatar
Expert
 
Join Date: Jan 2007
Location: Southern California USA
Posts: 4,091
#3: Sep 19 '07

re: Perl on Windows


Quote:

Originally Posted by rahatekarabhijeet

I want to know
1. How to install modules on windows.
2. Where are the .pm files are getting generated after installation
3. where to search for the modules for windows

Open the activestate perl documentation that comes with activestate perl and find and read the PPM documentation.
Member
 
Join Date: Jan 2007
Posts: 55
#4: Sep 19 '07

re: Perl on Windows


Thank you for your help in getting started me with Perl on Windows platform.
Kelicula's Avatar
Expert
 
Join Date: Jul 2007
Posts: 169
#5: Sep 22 '07

re: Perl on Windows


Quote:

Originally Posted by rahatekarabhijeet

Thank you for your help in getting started me with Perl on Windows platform.


I recently went through alot of trouble trying to get the GD image mod for ActiveState. I learned that every time you open the ppm it will search for updates of the mods you have installed, and automatically synchronize your libs with the latest releases. But if you want to load a mod that is not listed under the ppm, it is a little tougher. I don't know if there are downloads available of EVERY mod for Windows. But I did eventually find the GD ppm and was able to load it on my comp.

You can also use the ppm as command line, without opening the GUI.

Open DOS; type:
Expand|Select|Wrap|Line Numbers
  1. perl -MCPAN -e "YOUR::MODNAME"
Where YOUR::MODNAME is substituted with the module.
That way requires you to have the nmake installed, you can get it here:
http://download.microsoft.com/downlo...US/Nmake15.exe

If it says do you want to configure , select no, unless you know what your doing.

or if you know the URL of the .ppm file that you want to install, type:

Expand|Select|Wrap|Line Numbers
  1. ppm install http://www.theaddresshere.com
Good luck!!
Newbie
 
Join Date: Sep 2007
Posts: 8
#6: Sep 24 '07

re: Perl on Windows


I found this site handy.

http://www.tanguay.info/web/tutorial.php?idCode=installPerl&sectionIdCode=crea teHelloWorldProgram
Reply