in reply to Loading Local Modules

So can anyone give me any advice about this, what should I do?

Assuming XML::Simple has an open source license that allows it to be freely distributed (which, if XML::Simple is on CPAN, it most likely has), simple distribute XML::Simple with your product.

Abigail

Replies are listed 'Best First'.
Re: Re: Loading Local Modules
by CodeJunkie (Monk) on Sep 10, 2003 at 10:38 UTC

    Yeah this is what i've tried to do, but it then seems to ask for URI::URL.pm because it obvioyusly uses it. So I installed that as well, then it complained about some problem with XML::Parser::Expat, so I installed that as well. Then it complained about.

    Can't locate object method "bootstrap" via package "XML::Parser::Expat +" at lib/XML/Parser/Expat.pm line 29

    So I started to wonder if this would ever end...

    Cheers,
    Tom

      Did you read the README for XML::Parser? You have to install expat. An alternative is to install XML::SAX, which will install XML::SAX::PurePerl, which will be used by XML::Simple. This way you don't have to install an external library.

      You should also install CPANPLUS, that will make installing modules easier (although it will not solve the fact that you have to install expat separately in this case).

      CPANPLUS will also let you write a bundle file for your configuration, or just let you automagically install the needed modules, see Perl Module administration with CPANPLUS.

      Don't give up, it might be a pain in the short term, but eventually it will save you tons of time, as you will then be able to use all of CPAN and not just the very limited subset included in the core.