Don't know if this is the correct list.. tell me if i'm wrong! I'm doing perl bindings for a c library (gai). I've used swig with some typemaps.. It works in mine pc, but when i've sended my works to gai's author.. : perl Makefile.PL works fine, make works fine, make install works fine!
but when he try to launch a simple example : ./hello-world.pl
Use of inherited AUTOLOAD for non-method gai::gai_init() is deprecated
at ./hello-world.pl line 9. Can't locate auto/gai/gai_init.al in @INC
(@INC contains: /usr/lib/perl5/5.8.0/i386-linux /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl .) at ./hello-world.pl line 9
mmm what is this? if you want i can send Makefile.PM and gai.pm
Well there is this note in the perldelta:
http://www.perldoc.com/perl5.8.0/pod/perl5004delta.html#Deprecated--Inherited-AUTOLOAD-for-non-methods
But I don't quite understand the english. I can't tell whether it is saying that you should or shouldn't use inheritance with non-methods that are autoloaded. The "simple rule" makes sense by itself but seems to contradict what was said above it, or it could be that it is early on a saturday after a late night. Does this help?
http://danconia.org
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>