« hide from PAUSE | メイン | Yet Another C Compiler »

NEXTモジュールの検証中で

ついついみんなハマった件について。

package B; use base qw/A/; use NEXT; sub foo { print __PACKAGE__; shift->NEXT::foo; }

こんなコード書いた訳ですが、@B::ISAにExporterが入ってるので謎…とか思った訳ですよ。
何事か色々考えてた訳ですが…

トラックバック

このエントリーのトラックバックURL:
http://www.art-code.org/mt/mt-tb.cgi/9

コメントを投稿