Re: installing cpan
by marto (Cardinal) on Jul 01, 2013 at 13:43 UTC
|
cpan Text::CSV
Note this is case sensitive. The cpan documentation has a lot of useful information regarding usage.
Update: Also, a more accurate post title would be something like 'Installing Text::CSV using cpan'. See How do I compose an effective node title?. | [reply] [d/l] |
|
|
hey it is failing , saying no success downloading and the file path , giving up on it.
| [reply] |
|
|
Perhaps you're behind a proxy and need to provide your credentials. Without knowing exactly what's going on people can only make suggestions which may or may not work. How do I post a question effectively? has a lot to say on this topic. I suggest you post the output of this command, using the formatting described in the previous link.
| [reply] |
|
|
|
|
Re: installing cpan
by Jim (Curate) on Jul 01, 2013 at 14:43 UTC
|
Are you using ActivePerl from ActiveState? If so, then use PPM, not cpan, to install CPAN modules.
| [reply] |
|
|
Actually, you can install directly from CPAN with ActivePerl. By default, it will only be able to install modules that are pure Perl and don't need to be compiled. For 32-bit ActivePerl, you can use PPM to install MinGW and dmake from ActiveState's repository and the you can install modules from CPAN that need to be compiled.
As a side note, I will concede that installing modules via PPM (especially from ActiveState's repository) usually has a lower risk of issues than installing directly from CPAN.
| [reply] |
Re: installing cpan
by zork42 (Monk) on Jul 01, 2013 at 17:06 UTC
|
| [reply] |
|
|
I am sorry , actually I am very new to all this and have used it for the first time . I am using perl 5.16.3 , from padre . hope it clarifies whether it is ActivePerl from ActiveState.
| [reply] |
|
|
Padre runs everywhere :) Run this and report the output,
#!/usr/bin/perl --
print "$] $^X\n";
print "INC: $_\n" for @INC;
print "\n";
print "system $^X, '-V';\n";
system $^X, '-V';
print "\n\n\nsystem qw/ perl -V /;\n";
system qw/ perl -V /;
| [reply] [d/l] |
|
|
|
|
|
|
No problem :)
padre is actually an IDE, not a source of Perl.
You might be running "DWIM Perl" (Perl - Download - Windows)
Can you type "perl -v" (without the ""s) in a dos box and post the results here?
| [reply] |
Re: installing cpan
by zork42 (Monk) on Jul 04, 2013 at 05:20 UTC
|
| [reply] |