Can't locate object method "host" via package "URI::_foreign"

V

vkinger

Hi,

Here is the complete error message:

Can't locate object method "host" via package "URI::_foreign" at
PERL2EXE_STORAG
E/Net/SDEE/Session.pm line 108.

I get this error when I run ssss.exe file. My ssss.pl file works fine,
this error pops up after I convert ssss.pl file to ssss.exe file using
perl2exe utility. I am not sure what is wrong here. Any help will be
greatly appreciated.

Thanks.
 
B

Bart Lateur

Can't locate object method "host" via package "URI::_foreign" at
PERL2EXE_STORAG
E/Net/SDEE/Session.pm line 108.

I get this error when I run ssss.exe file. My ssss.pl file works fine,
this error pops up after I convert ssss.pl file to ssss.exe file using
perl2exe utility. I am not sure what is wrong here. Any help will be
greatly appreciated.

The reason is because the perl2exe comverter didn't include all modules.
Some modules are loaded in a non-standard way, and the perl2exe scanner
doesn't recognize them all. This must be the case here. There must be a
FAQ available on their website.

Anyway, try adding lines like

require URI::_foreign;

in your script, and this module will be added. Or, if it isn't found,
try to find what module file the package is in, and require that
instead.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,999
Messages
2,570,247
Members
46,844
Latest member
JudyGvh32

Latest Threads

Top