hujunsimon has asked for the wisdom of the Perl Monks concerning the following question:

Hi there,

One quick question regarding installing the perl module in windows 7 OS. i'm using the straberry perl on my system, normally i can install the perl module by directly typing the "install 'module name'" under cpan>. but however, i got an error message:

warning: Cannot install text::csv, don't know what it is. try the co +mmand i/text::csv/ to find objects with matching identifiers.

one workaround i find out is to download the module manually and put into the usr/bin/lib folder, then run: make filename.pl make make test make install. So i was just wondering are there any easier way i don't have to do that manually everytime ? i know it must be some firewall or security problems in windows 7 settings. anyone can give some advices ?

thanks,

Replies are listed 'Best First'.
Re: Install perl module on 64 bits system
by Corion (Patriarch) on Aug 04, 2011 at 10:31 UTC

    There is no module text::csv. Did you mean Text::CSV (note the uppercase characters)?

Re: Install perl module on 64 bits system
by marto (Cardinal) on Aug 04, 2011 at 10:34 UTC

    There is no module called text::csv, it's Text::CSV, case counts. If you run the command suggested, i /text::csv/ cpan will display matches regardless of case.

Re: Install perl module on 64 bits system
by perl.j (Pilgrim) on Aug 04, 2011 at 15:56 UTC
    Modules are usually case-sensitive.
    perl.j-----A Newbie To Perl

      No. Package names are always case sensitive and the case of module file names must match the appropriate package names for Perl to do the right thing. On case preserving but case insensitive operating systems such as Windows trouble tends to happen later rather than sooner and bite harder as a consequence if you use different module file name case or directory name case than the case used for the package.

      True laziness is hard work
        Thanks for explaining that, now it installs the package correctly, thank you !