Subject: | uninitialized value error w/ -g option |
I'm seeing the following error:
$ cpan -g local::lib
Use of uninitialized value $description in concatenation (.) or string at [...]/lib/5.16.3/App/Cpan.pm line 440.
Which seems to be due to an omission in line 432 to extract the description:
430 my( $sub, $takes_args, $description ) =
431 map { $Method_table{$option}[ $Method_table_index{$_} ] }
432 qw( code takes_args );
Appending 'description' to the arguments to map seems to solve the problem.
Diab