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

Hello monks- this could well be something rather ingorant on my part, but I cant seem to get a module to install. I've been playing with perl for a short while now, and just recently tried to install a module for my first time. Here is the error I got:
$ perl Makefile.PL Checking if your kit is complete... Looks good Illegal character \015 (carriage return) at (eval 6) line 7, <FH> chun +k 63. Could not eval ' package ExtUtils::MakeMaker::_version; no strict; local $VERSION; $VERSION=undef; do { $VERSION = "0.01"; }; $VERSION ' in RAX.pm: (Maybe you didn't strip carriage returns after a +network transfer?)
If anyone could enlighten me as to what I'm doing wrong here I'd greatly apprecieate it. I don't see why there could be strange linefeeds, I downloaded an unpackged the tgz file on the same Redhat system I'm trying to install onto.

Replies are listed 'Best First'.
Re: Makefile problem
by PsychoSpunk (Hermit) on Feb 03, 2001 at 04:12 UTC
    Well, you ran the wrong command. You should have done something like this:

    # perl -MCPAN -e shell

    ...
    text floats by

    cpan> install modulename

    I find this much more reliable than perl Makefile.PL

    ALL HAIL BRAK!!!

      cpan> install modulename

      ...which will eventually run perl Makefile.PL?
        Yes, but it also will download the files and should get the line endings correct.