Can't call NEXT::f from B::g
- From: Victor Porton <porton@xxxxxxxx>
- Date: Wed, 30 Jan 2008 06:40:54 -0800 (PST)
$ perl test.pl
Can't call NEXT::f from B::g at /home/porton/t/test2.pl line 10
Why the error?
#!/usr/bin/perl -w
use NEXT;
package A;
sub f { print "123\n" }
package B;
use base 'A';
sub g { shift->NEXT::f }
B->g;
.
- Follow-Ups:
- Re: Can't call NEXT::f from B::g
- From: Peter Makholm
- Re: Can't call NEXT::f from B::g
- Prev by Date: Re: C's gotoxy() equivalent in Perl
- Next by Date: Re: Can't call NEXT::f from B::g
- Previous by thread: FAQ 1.1 What is Perl?
- Next by thread: Re: Can't call NEXT::f from B::g
- Index(es):