Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
module test has no trouble dispatching calls to undefined methods to this AUTOLOAD in perl 5.005, but not in 5.6.1. I have tried to find an answer in changelogs, but with not much luck. Anyone has any idea whats going on?test.c: ---------------------------------------------------- /* a bunch of standard includes here */ XS(MyAutoload){ /* some code here */ } XS(boot_test){ newXS("test::AUTOLOAD", MyAutoload, __FILE__); } ----------------------------------------------------- test.pm: ----------------------------------------------------- package test; Require DynaLoader; Require AutoLoader; @ISA = qw(AutoLoader DynaLoader); $VARSION = "1.0"; bootstrap test $VERSION; 1; ------------------------------------------------------
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re: Help: 5.6.1: XSUB and AUTOLOAD
by tye (Sage) on Jul 19, 2001 at 21:06 UTC | |
by Anonymous Monk on Jul 20, 2001 at 09:21 UTC | |
by tye (Sage) on Jul 20, 2001 at 09:47 UTC | |
by Anonymous Monk on Jul 20, 2001 at 15:59 UTC | |
|
Re: Help: 5.6.1: XSUB and AUTOLOAD
by Anonymous Monk on Jul 20, 2001 at 09:22 UTC |