no strict 'refs'; print "$pkg is a " . ${$pkg.'::type'} . "\n";