June 2008
Beginner
352 pages
11h 16m
English
This answer uses a hash reference (which you’ll have to read about in Intermediate Perl (O’Reilly), but we gave you the part to get around that. You don’t have to know how it all works as long as you know it does work. You can get the job done and learn the details later.
Here’s one way to do it:
#!/usr/bin/perl
use Module::CoreList;
my %modules = %{ $Module::CoreList::version{5.006} };
print join "\n", keys %modules;