The guys are very confused about how to use the module that I just installed in Perl.
I installed the corelist module in Perl. And I want to display all the modules that come with Perl 5.006. But there is a hint of this using this code, which I do not understand:
my %modules = %{ $Module::CoreList::version{5.006} };
But when I did it
#! usr/bin/perl use warnings; use strict; my %modules = %{$Module::CoreList::version{5.006}}; print %modules;
he gives this error: Module::CoreList::version used only once . I also tried to put use Module::CoreList; still no luck
source share