2004年11月15日
perl5.8.5でClass::Fieldがtestでこける
新しいサーバにSledgeをインストールしていたところ、Sledgeを動かすのに必要なモジュール、Class::Fieldがmake testでこけました。原因はperlのバージョンによるwarnningのメッセージの違いによるもののようなので、特に気にせずmake installしてしまってOKだと思います。
::ok( $warnings eq <<WARN, 'Improper use of fields & base warned about' ); Bar is inheriting from Foo but already has its own fields! This will cause problems with pseudo-hashes. Be sure you use base BEFORE declaring fields WARN
ちなみにエラーがでていたコードは上の部分で「with pseudo-hashes」の部分を削除すれば5.8.5でもテストに通りました。
Continuing the discussion...
このエントリーのトラックバックURL:
http://hori-uchi.com/mt/trackback/224
