I have strawberry perl only and I run my script it gives this error
C:\Documents and Settings\x0199665\Desktop\ke>first_time_userl.pl
Can't locate Text/CSV.pm in @INC (you may need to install the Text::CS
+V module)
(@INC contains: C:/strawberry/perl/site/lib C:/strawberry/perl/vendor/
+lib C:/str
awberry/perl/lib .) at C:\Documents and Settings\x0199665\Desktop\ke\f
+irst_time_
userl.pl line 90.
BEGIN failed--compilation aborted at C:\Documents and Settings\x019966
+5\Desktop\
ke\first_time_userl.pl line 90.
and my line 90 is use Text::CSV; so I did this cpan Text::CSV;
it gave this error
C:\Documents and Settings\x0199665\My Documents>cpan Text::CSV
CPAN: CPAN::SQLite loaded ok (v0.202)
CPAN: LWP::UserAgent loaded ok (v6.05)
CPAN: Time::HiRes loaded ok (v1.9725)
Fetching with LWP:
http://cpan.strawberryperl.com/authors/01mailrc.txt.gz
LWP failed with code[500] message[Can't connect to cpan.strawberryperl
+.com:80 (B
ad hostname)]
Warning: no success downloading 'C:\strawberry\cpan\sources\authors\01
+mailrc.txt
.gz.tmp2248'. Giving up on it.
Fetching with LWP:
http://www.cpan.org/authors/01mailrc.txt.gz
LWP failed with code[500] message[Can't connect to www.cpan.org:80 (Ba
+d hostname
)]
Warning: no success downloading 'C:\strawberry\cpan\sources\authors\01
+mailrc.txt
.gz.tmp2248'. Giving up on it.
Fetching with LWP:
http://www.cpan.org/authors/01mailrc.txt.gz
LWP failed with code[500] message[Can't connect to www.cpan.org:80 (Ba
+d hostname
)]
Warning: no success downloading 'C:\strawberry\cpan\sources\authors\01
+mailrc.txt
.gz.tmp2248'. Giving up on it.
Warning: no success downloading 'C:\strawberry\cpan\sources\authors\01
+mailrc.txt
.gz.tmp2248'. Giving up on it.
As a last resort we now switch to the external ftp command 'C:\Windows
+\system32\
ftp.exe'
to get 'C:\strawberry\cpan\sources\authors\01mailrc.txt.gz.tmp2248'.
Doing so often leads to problems that are hard to diagnose.
If you're the victim of such problems, please consider unsetting the
ftp config variable with
o conf ftp ""
o conf commit
Fetching with LWP:
http://cpan.strawberryperl.com/authors/01mailrc.txt.gz
LWP failed with code[500] message[Can't connect to cpan.strawberryperl
+.com:80 (B
ad hostname)]
Warning: no success downloading 'C:\strawberry\cpan\sources\authors\01
+mailrc.txt
.gz.tmp2248'. Giving up on it.
Fetching with LWP:
http://www.cpan.org/authors/01mailrc.txt.gz
LWP failed with code[500] message[Can't connect to www.cpan.org:80 (Ba
+d hostname
)]
Warning: no success downloading 'C:\strawberry\cpan\sources\authors\01
+mailrc.txt
.gz.tmp2248'. Giving up on it.
Fetching with LWP:
http://www.cpan.org/authors/01mailrc.txt.gz
LWP failed with code[500] message[Can't connect to www.cpan.org:80 (Ba
+d hostname
)]
Warning: no success downloading 'C:\strawberry\cpan\sources\authors\01
+mailrc.txt
.gz.tmp2248'. Giving up on it.
Warning: no success downloading 'C:\strawberry\cpan\sources\authors\01
+mailrc.txt
.gz.tmp2248'. Giving up on it.
As a last resort we now switch to the external ftp command 'C:\Windows
+\system32\
ftp.exe'
to get 'C:\strawberry\cpan\sources\authors\01mailrc.txt.gz.tmp2248'.
Doing so often leads to problems that are hard to diagnose.
If you're the victim of such problems, please consider unsetting the
ftp config variable with
o conf ftp ""
o conf commit
CPAN: YAML::XS loaded ok (v0.41)
Please check, if the URLs I found in your configuration file
(http://cpan.strawberryperl.com/, http://www.cpan.org/,
http://www.cpan.org/) are valid. The urllist can be edited. E.g. with
+'o
conf urllist push ftp://myurl/'
Could not fetch authors/01mailrc.txt.gz
|