... at C:/work/newdummy/../Perl/IO/Socket/Socket6.pm
What seems strange is that you have Socket6.pm in the directory .../IO/Socket/. And what's even stranger is that something is in fact pulling it in from there...
The only circumstance under which I can reproduce your problem can't locate object method "bootstrap" via package "Socket6" is by putting Socket6.pm where you have it, plus adjusting the namespace from package Socket6; to package IO::Socket::Socket6;, and then modifying the use statement use Socket6; in IO::Socket::INET6 to read use IO::Socket::Socket6;. In this case I also do get
Can't locate object method "bootstrap" via package "Socket6" (perhaps +you forgot to load "Socket6"?) at IO/Socket/Socket6.pm line 279.
(which is not too surprising, as the package is now "IO::Socket::Socket6"...)
So... did you do anything like this??
Normally, the directory layout should be:
.../Perl/Socket6.pm .../Perl/auto/Socket6/Socket6.so # the XS component of Socket6 (.d +ll on Windows) .../Perl/IO/Socket/INET6.pm
(where .../Perl is a directory that's in @INC)
In reply to Re: can't locate object method bootstrap
by almut
in thread can't locate object method bootstrap
by gokuraku
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |