NEXTモジュールの検証中で
ついついみんなハマった件について。
package B;
use base qw/A/;
use NEXT;
sub foo { print __PACKAGE__; shift->NEXT::foo; }
こんなコード書いた訳ですが、@B::ISAにExporterが入ってるので謎…とか思った訳ですよ。
何事か色々考えてた訳ですが…
« hide from PAUSE | メイン | Yet Another C Compiler »
ついついみんなハマった件について。
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