return 0;
}
+# get_nice_perl_version()
+# Returns the Perl version is human-readable format
+sub get_nice_perl_version
+{
+local $ver = $^V;
+if ($ver =~ /^v/) {
+ return $ver;
+ }
+else {
+ return join(".", map { ord($_) } split(//, $^V));
+ }
+}
+
1;
# Display installed perl modules and a form for installing new ones
require './cpan-lib.pl';
-$ver = join(".", map { ord($_) } split(//, $^V));
+$ver = &get_nice_perl_version();
&ui_print_header(undef, $text{'index_title'}, "", undef, 1, 1, 0,
undef, undef, undef, &text('index_pversion', $ver));
&ReadParse();