Help for this page
print "$pkg is a " . eval("\$${pkg}::type") . "\n";
no strict 'refs'; print "$pkg is a " . ${$pkg.'::type'} . "\n";