MeowChow has asked for the wisdom of the Perl Monks concerning the following question:
If I comment out the use base line, or change the glob name from isa to anything else, it works fine. Any ideas why this is happening?use base qw(Exporter); *isa = \&UNIVERSAL::isa; print isa({}, 'HASH'); # Output under perl 5.6 : Undefined subroutine &main::isa called a +t - line 4. # Output under perl 5.005_03: 1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: use base qw(Dazed Confused)
by Fastolfe (Vicar) on Jan 30, 2001 at 06:12 UTC | |
|
Re: use base qw(Dazed Confused)
by Adam (Vicar) on Jan 30, 2001 at 06:07 UTC | |
by MeowChow (Vicar) on Jan 30, 2001 at 06:14 UTC | |
|
Re: use base qw(Dazed Confused)
by Beatnik (Parson) on Jan 30, 2001 at 12:23 UTC |