perl -MExtUtils::Installed -le '$_=ExtUtils::Installed->new->modules;print'
####
perl -le '@_=grep/Module/,split/\n/,`perldoc -uT perllocal`;print scalar@_'
####
perl -MExtUtils::Installed -le '@_=ExtUtils::Installed->new->modules;print for sort{lc$a cmp lc$b}@_' >mod.ext
perl -e '@_=grep/Module/,`perldoc -uT perllocal`;for(@_){s/.*?\|([^>]+)>/$1/}print for sort{lc$a cmp lc$b} @_' >mod.loc
diff -y mod.ext mod.loc
####
diff -y mod.ext mod.loc|grep '<'|wc -l
####
diff -y mod.ext mod.loc|grep '>'|wc -l