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

Discussion in 'Perl Misc' started by vkinger, May 31, 2007.

  1. vkinger

    vkinger Guest


    Here is the complete error message:

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

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

    vkinger, May 31, 2007
    1. Advertisements

  2. vkinger

    Bart Lateur Guest

    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
    Bart Lateur, Jun 1, 2007
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.