You are not logged in.

#1 2020-04-12 09:39:32

Registered: 2015-01-29
Posts: 33

Perl cpan: Use of uninitialized value $what

$ cpan
Loading internal logger. Log::Log4perl recommended for better logging
Sorry, we have to rerun the configuration dialog for due to
some missing parameters. Configuration will be written to
 <</home/jo/.cpan/CPAN/>> requires configuration, but most of it can be done automatically.
If you answer 'no' below, you will enter an interactive dialog for each
configuration option instead.

Would you like to configure as much as possible automatically? [yes] 

Use of uninitialized value $what in concatenation (.) or string at /usr/share/perl5/core_perl/App/ line 679, <STDIN> line 1.

Warning: You do not have write permission for Perl library directories.

To install modules, you need to configure a local Perl library directory or
escalate your privileges.  CPAN can help you by bootstrapping the local::lib
module or by configuring itself to use 'sudo' (if available).  You may also
resolve this problem manually if you need to customize your setup.

What approach do you want?  (Choose 'local::lib', 'sudo' or 'manual')

The rest of the dialogue seemed normal. My only concern is that "Use of uninitialised value..."
I can't find anything about this, other than general advice from Gabor Szabo here:
Use of uninitialized value

Any thoughts?


#2 2020-04-12 22:38:57

From: Germany
Registered: 2020-03-09
Posts: 3

Re: Perl cpan: Use of uninitialized value $what

It's harmless, probably just trying to remind you to (really) use cpanm. wink I haven't touched CPAN in years, please use cpanm if you don't have specific needs and/or cpanplus doesn't cut it either.


Board footer

Powered by FluxBB