Well, how about a hash ref whose keys are the names of all the modules in @INC? Would that meet your needs? This isn't in the documentation for my module, but you could do:
in reply to Re^2: ExtUtils::Installed doesn't list all modules
in thread ExtUtils::Installed doesn't list all modules
P.S. If you want even more information on those modules you can look into the values of those keys. Or just use Data::Dumper to see what's in that hashref.
my $hashref = (HTML::Perlinfo::Modules::find_modules("",1,\@INC));
# Here are all the module names in @INC:
print "$_\n" for (keys %$hashref);