2014年8月1日金曜日

Perl 5.16でctime.plとflush.plがない

あるperlプログラムが動作しなくなり、調べてみるとctime.plとflush.plがないのが原因のようです。検索してみると、以下のような記述を見つけました。
Perl5.16の新機能・変更点をピックアップ
http://d.hatena.ne.jp/perlcodesample/20120523/1337758400

以下のPerl4形式のライブラリは削除されました。
abbrev.pl assert.pl bigfloat.pl bigint.pl bigrat.pl cacheout.pl
complete.pl ctime.pl dotsh.pl exceptions.pl fastcwd.pl flush.pl
getcwd.pl getopt.pl getopts.pl hostname.pl importenv.pl
lib/find{,depth}.pl look.pl newgetopt.pl open2.pl open3.pl
pwd.pl shellwords.pl stat.pl tainted.pl termcap.pl timelocal.pl
これらは CPAN の Perl4::CoreLibs にあります。

そのためcpanコマンドでinstall Perl4::CoreLibsとしてこれらをインストールしました。