Re: Perlにデフォルトでインストールされているモジュールを表示する
隣のO澤くんが「Perlにデフォルトで入ってるモジュールが何かあるのかわかんないんですよねぇ」とか言ってるから、ワンライナー:# もしModule::CoreListがインストールされてないなら cpan install Module::CoreList perl -MModule::CoreList -e 'print "$_\n" for sort keys %{$Module::CoreList::version{5.008008}} 'これで一発で出るよ!
それって
% corelist -v 5.008008 The following modules were in perl v5.008008 CORE AnyDBM_File 1.00 Attribute::Handlers 0.78_02 AutoLoader 5.60 AutoSplit 1.04 B 1.09_01 B::Asmdata 1.01 ...