On Sat, Jan 17, 2004 at 06:58:56PM -0800, drieux wrote:
 >
> >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
> [..]
> 
> There are clearly two or more problems here:
> 
>       a. the 'inherited autoload' problem - where something
>       in your gai.pm has been set to 'autoload' the code
>               gai::gai_init()
>       that it thinks it is suppose to be finding by inheritence
>       rather than from bootstrap????
> 
>       b. Hence you should have set that up for use DynaLoader
>       vice use AutoLoader?
>
ehm.. This is mine gai.pm

package gai;
require Exporter;
require DynaLoader;
@ISA = qw(Exporter DynaLoader);
package gai;
bootstrap gai;
package gai;
@EXPORT = qw( );
1;


> Is there a difference between the version of perl you are
> using on your PC and the 5.8 version on the linux box???
yes, i'm using perl-5.8.1 and he is using 5.8.0

hi!
Luca

-- 
Linux is obsolete
(Andrew Tanenbaum)

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to