Hi All:
My problem amounts to this: when I have AUTOLOAD defined in a C file as
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;
------------------------------------------------------
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?
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.