I am using Strawberry Perl on WinXP but i am unable to download modules from Cpan via cmd,everytime a connection timeout error pops up.
I get the following error :
and again a time out
=================================
The modules are availiable at CPAN but from cmd after entering cpan module name a connection is being made to http://cpan.strawberryperl.com/authors/01mailrc.txt.gz not sure why.
Thanks all in advance,please let me know where i am going wrong.
Last edited by pludi; 03-27-2010 at 11:43 AM..
Reason: code tags, please...
I resulted to using /usr/sfw/bin/gmake to install my perl modules until i ran into a problem installing perl/Tk Tk-804.028
gmake: Entering directory `/export/home/Tk-804.028/pod'
Sorry no HTML building yet
gmake: Leaving directory `/export/home/Tk-804.028/pod'
I dont unstand what the error... (2 Replies)
Hi. i installed perl 5.8.8.822 in my D: drive(windows xp).When im trying to install IO-Stringy.pm module( or any module for tat matter ) it is getting installed in 'c:\temp\please run installed script' folder no matter from where ever i run the ppm installation.The path variable is set to... (3 Replies)
Hi,
I'm using strawberry perl on windows 7 rc, and for the past few days I haven't manage to install any modules.
I understand that I have to download the module from cpan, which I do, afterwards I have to open cmd, change directory to where I have extracted the module, and type:
perl... (0 Replies)
Hi All,
I have a customer asking me to install these perl modules on redhat 4 ent:
File::Temp
Getopt::Long
DBD::mysql
Mail::Mailer
DBD::DB2
Any idea how can I install those modules.
Thanks for any comment you may add. (3 Replies)
Hi,
I am using perl 5.12. I want to install XML modules and Excel modules which is from perl in windows.
I am using ppm to install these perl modules.
My proxy is this: mtd.ixs.ibab.com/proxy.pac (with http in the beginning)
I used this to set but i unable to download any pakage, Using... (5 Replies)
Hi,
I am struggling in installing TK module for strawberry perl.
I downloaded TK804 module,
extracted to a folder, kept in c:/strawberry/perl/lib path,
then from tht path
1) perl makefile.pl
2)dmake
3)dmake test
4)dmake install
During perl makefile.pl it is giving error as... (3 Replies)
I have some custom functions which i want to use in perl Scripting all time.
i want to How to create modules in perl and how to import them.
Also if i create 15 modules and i want to > import all at once then how can i import? (0 Replies)
I have installed perl in windows.
Now I would like to install spreadsheet::xlsx & DateTime::Format::Excel modules(also few more) at a time instead of installing them seperately.
Could you please let me know how to install more than 1 module as a batch file in windows OS ?
Thanks in... (5 Replies)
Hi All,
I have written an cgi perl script that displays an image(Excel image) and when clicked on that Image I need to download a excel sheet.
I made sure that excel sheet exists in the folder with the given name but still I am not able to download the sheet.
print "<center><table... (2 Replies)
Hello. I am currently trying to compile kde-baseapps.
I issue this command: which returns So I need this ECM stuff.
I found this: extra-cmake-modules.git - Extra modules and scripts for CMake.. When I click in the corresponding link in the column, I receive this:
This also happens... (2 Replies)
Discussion started by: colt
2 Replies
LEARN ABOUT X11R4
cpan
CPAN(1) Perl Programmers Reference Guide CPAN(1)NAME
cpan - easily interact with CPAN from the command line
SYNOPSIS
# with arguments and no switches, installs specified modules
cpan module_name [ module_name ... ]
# with switches, installs modules with extra behavior
cpan [-cfimt] module_name [ module_name ... ]
# without arguments, starts CPAN.pm shell
cpan
# without arguments, but some switches
cpan [-ahrvACDLO]
DESCRIPTION
This script provides a command interface (not a shell) to CPAN. At the moment it uses CPAN.pm to do the work, but it is not a one-shot com-
mand runner for CPAN.pm.
Meta Options
These options are mutually exclusive, and the script processes them in this order: [hvCAar]. Once the script finds one, it ignores the
others, and then exits after it finishes the task. The script ignores any other command line options.
-a Creates the CPAN.pm autobundle with CPAN::Shell->autobundle.
-A module [ module ... ]
Shows the primary maintainers for the specified modules
-C module [ module ... ]
Show the "Changes" files for the specified modules
-D module [ module ... ]
Show the module details. This prints one line for each out-of-date module (meaning, modules locally installed but have newer versions
on CPAN). Each line has three columns: module name, local version, and CPAN version.
-L author [ author ... ]
List the modules by the specified authors.
-h Prints a help message.
-O Show the out-of-date modules.
-r Recompiles dynamically loaded modules with CPAN::Shell->recompile.
-v Print the script version and CPAN.pm version.
Module options
These options are mutually exclusive, and the script processes them in alphabetical order. It only processes the first one it finds.
c Runs a `make clean` in the specified module's directories.
f Forces the specified action, when it normally would have failed.
i Installed the specified modules.
m Makes the specified modules.
t Runs a `make test` on the specified modules.
Examples
# print a help message
cpan -h
# print the version numbers
cpan -v
# create an autobundle
cpan -a
# recompile modules
cpan -r
# install modules ( sole -i is optional )
cpan -i Netscape::Booksmarks Business::ISBN
# force install modules ( must use -i )
cpan -fi CGI::Minimal URI
TO DO BUGS
* none noted
SEE ALSO
Most behaviour, including environment variables and configuration, comes directly from CPAN.pm.
SOURCE AVAILABILITY
This source is part of a SourceForge project which always has the latest sources in CVS, as well as all of the previous releases.
http://sourceforge.net/projects/brian-d-foy/
If, for some reason, I disappear from the world, one of the other members of the project can shepherd this module appropriately.
CREDITS
Japheth Cleaver added the bits to allow a forced install (-f).
Jim Brandt suggest and provided the initial implementation for the up-to-date and Changes features.
Adam Kennedy pointed out that exit() causes problems on Windows where this script ends up with a .bat extension
AUTHOR
brian d foy, "<bdfoy@cpan.org>"
COPYRIGHT
Copyright (c) 2001-2006, brian d foy, All Rights Reserved.
You may redistribute this under the same terms as Perl itself.
perl v5.8.9 2009-04-13 CPAN(1)