Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

pp can't pack MongoDB and Inline Module

by Alle (Novice)
on Sep 15, 2012 at 02:28 UTC ( #993821=perlquestion: print w/ replies, xml ) Need Help??
Alle has asked for the wisdom of the Perl Monks concerning the following question:

pp(PAR::Packer) can't pack MongoDB and Inline Module

script1.pl:

#!/usr/bin/perl -w use strict; print "ni hao\n"; pp -o script1.exe script1.pl

pp pack script1.pl to script1.exe work good

script2.pl:

#!/usr/bin/perl -w use strict; use MongoDB; print "ni hao\n"; pp -o script2.exe script2.pl

pp Takes a very long time to pack script2.pl to script2.exe ,and excutable script2.exe failure

andalso pp can't pack Inline module, There are others opinion? thanks

Comment on pp can't pack MongoDB and Inline Module
Select or Download Code
Re: pp can't pack MongoDB and Inline Module
by Anonymous Monk on Sep 15, 2012 at 07:30 UTC

    can't pack MongoDB and Inline Module

    sure it can

    it needs your help, but it can

    start with -x option

      I test:

      pp -x test.pl

      test.pl's content:

      use MongoDB; print "hi\n";

      It's so slowly, So i have to 'ctrl+c' interrupted! so, "pp -x test.exe test.pl" will also slowly and can't promit success!

        So rather than wait for pp -x to do it's thing you've killed the process? Consider specifically packaging the module, see -M from the documentation.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://993821]
Approved by Athanasius
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2014-12-29 06:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (184 votes), past polls