in reply to Re^2: How do I generate a list of available top-level packages?
in thread How do I generate a list of available top-level packages?

I have to manually go through and pull the packages from that hairy hash manually.

You can also use Devel::Symdump:

use Devel::Symdump; my @packages = Devel::Symdump->rnew->packages;