in reply to Error while running an exe built using the PP module.

Include XML::Parser::Expat explicitely with -M.
  • Comment on Re: Error while running an exe built using the PP module.

Replies are listed 'Best First'.
Re^2: Error while running an exe built using the PP module.
by Anonymous Monk on May 31, 2012 at 10:05 UTC

    Its already included, the error message is XML::Parser::Expat: load_file:The specified module could not be found

    Basically, XML::Parser::Expat was compiled against libexpat.dll instead of the static version, and you have to include libexpat.dll with the -l option

    See Re: Missing libeay32.dll from an exe generated with pp utility

Re^2: Error while running an exe built using the PP module.
by balajinagaraju (Sexton) on May 31, 2012 at 10:08 UTC
    I believe the option M has to be used to create a PAR file, how do i use it to create an exe. ?
        I am not sure whether i m approaching my problem correctly , i have few perl files which are dependent on few modules which i have downloaded from CPAN , now i want to ship these perl files and the dependencies to our customer. Whats the best way to do it? , can i create a PAR for the dependencies and ship my perl files as it is or how should go about delievring it?, any suggestions on this?