Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

cpan shell

by matth (Monk)
on Jan 27, 2003 at 00:03 UTC ( #230082=perlquestion: print w/replies, xml ) Need Help??

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

Dear Monks,

Can anyone please link to a workable guide for installation and configuration of the cpan shell. I reinstalled Linux and I don't seem to be able to get the shell to do its job.

Replies are listed 'Best First'.
Re: cpan shell
by Paladin (Vicar) on Jan 27, 2003 at 00:59 UTC
    Jeremy Mates' Life with CPAN article may be of some use if you are having problems. Also, if you haven't done so, read perldoc CPAN.

    If that doesn't help, perhaps let us know what problems you are having, and any error messages, and some kind Monk can give you a hand.

Re: cpan shell
by fredopalus (Friar) on Jan 27, 2003 at 01:39 UTC
Re: cpan shell
by particle (Vicar) on Jan 27, 2003 at 02:02 UTC

    you might want to start with CPANPLUS. it's a much better alternative, in my opinion. see kudra's homenode for more links.

    ~Particle *accelerates*

Re: cpan shell
by bronto (Priest) on Jan 27, 2003 at 09:30 UTC

    That sounds quite strange, since the CPAN module is a bundled one: if you have perl on your system you really should have CPAN, too.

    Which distribution are you using? Does

    locate CPAN.pm

    return anything?

    Ciao!
    --bronto

    # Another Perl edition of a song:
    # The End, by The Beatles
    END {
      $you->take($love) eq $you->make($love) ;
    }

      I have the CPAN shell. But it doesn't seem to work. For example:

        Ah!

        I think you need to reconfigure your CPAN module: look at this:

        cpan_home y

        It seems that you answered "y" to the question that asked where to put the cpan cache; being "y" a relative path, it will mess things up if the module does chdir somewhere. Just reconfigure and put something a reasonable path in, e.g. /var/cache/cpan. It should work.

        Ciao!
        --bronto

        # Another Perl edition of a song:
        # The End, by The Beatles
        END {
          $you->take($love) eq $you->make($love) ;
        }

      Yes, it returns:
      <ht000@tortuga:/home/ht000:!>$ oc$ locate CPAN.pm bash: locate: command not found <ht000@tortuga:/home/ht000:!>$ oc$
      ;-P

      BTW:

      uname -a OSF1 tortuga.foa.dk V4.0 1229 alpha
        How do I solve this problem? Do I need to change the bash setup? Time for me to look back at my linux book I think.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://230082]
Approved by vek
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2023-12-05 08:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (26 votes). Check out past polls.

    Notices?