Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: CPANP (CPAN Plus) failing?

by Corion (Pope)
on Mar 04, 2013 at 14:13 UTC ( #1021650=note: print w/replies, xml ) Need Help??

in reply to CPANP (CPAN Plus) failing?

Note that the referenced directory from the error message mentions Dwimperl while you claim to use Strawberry Perl. The two are not the same.

If you eliminated Dwimperl from your machine, this may be a symptom of some configuration files having been left around with misleading entries. If so, hunt them down and delete them or alternatively reconfigure cpanp to use the appropriate configuration values.

Replies are listed 'Best First'.
Re^2: CPANP (CPAN Plus) failing?
by HelenCr (Monk) on Mar 05, 2013 at 01:32 UTC

    Corion: indeed, that PC has two different installations of Perl.

    So, should I go:

    perl -MCPANPLUS::Configure::Setup -e 'CPANPLUS::Configure::Setup->init()'

    like it says here?:

    Many TIA - Helen

      I suggest you stick to using one Perl distribution to avoid confusion. Different distros have different modules packaged. Recently this problem. Note that both Strawberry Perl and DWIM perl have a C compiler. Consider thoroughly reading the docuemntation for modules before attempting to install them, or their prerequisites.

      I wouldn't know. I don't use cpanplus. But if their FAQ suggests it, I would investigate that way of solving things.

        For the benefit of PerlMonks users: I went (in cpanp):

        CPAN Terminal>s selfupdate enabled_features

        and it fixed the problem.

        Many thanks to Corion and marto for your help - Helen

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1021650]
[Lady_Aleena]: File::Find doesn't have a simple sub wanted example, like get the name of the file.
[Discipulus]: there is also find2perl with your perl installation
[Discipulus]: and in the wanted sub you just calculate the duretion and add it the total, stop
[shmem]: sub wanted { push @files, $File::Find::name if $File::Find::name =~/\.mp3$/ }

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2017-04-23 20:48 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (432 votes). Check out past polls.