in reply to Re^5: pp can't pack MongoDB and Inline Module
in thread pp can't pack MongoDB and Inline Module
Thank you for your tips and effort,When I install Mouse and use perlapp pack to exe file, it execuate successfully!
But can't use MongoDB module to connection mongodb
my code
use strict; use utf8; use Encode; use MongoDB; use MongoDB::Connection; use MongoDB::Database; use Tkx; # mongodb my $conn = MongoDB::Connection->new(host => '127.0.0.1:27017', query_timeout => 1000 * 6000); my $db = $conn->dev;
the error msg
[DONE] Could not find a suitable Params::Validate implementation: Can't locat +e Params/Validate/XS.pm in @INC (@INC contains:) at /<C:\Users\Admini +strator\Desktop\StudyNotes\perl\perl-Tkx\tkx3.exe>Module/Runtime.pm l +ine 317. Can't locate Params/Validate/PP.pm in @INC (@INC contains:) at /<C:\Us +ers\Administrator\Desktop\StudyNotes\perl\perl-Tkx\tkx3.exe>Module/Ru +ntime.pm line 317. at /<C:\Users\Administrator\Desktop\StudyNotes\perl\perl-Tkx\tkx3.exe +>Params/Validate.pm line 66. BEGIN failed--compilation aborted at /<C:\Users\Administrator\Desktop\ +StudyNotes\perl\perl-Tkx\tkx3.exe>DateTime/Duration.pm line 12. BEGIN failed--compilation aborted at /<C:\Users\Administrator\Desktop\ +StudyNotes\perl\perl-Tkx\tkx3.exe>DateTime.pm line 43. BEGIN failed--compilation aborted at /<C:\Users\Administrator\Desktop\ +StudyNotes\perl\perl-Tkx\tkx3.exe>MongoDB/GridFS.pm line 24. BEGIN failed--compilation aborted at /<C:\Users\Administrator\Desktop\ +StudyNotes\perl\perl-Tkx\tkx3.exe>MongoDB/Database.pm line 23. BEGIN failed--compilation aborted at tkx3.pl line 7. [DONE]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: pp can't pack MongoDB and Inline Module
by marto (Cardinal) on Sep 20, 2012 at 12:41 UTC | |
by Alle (Novice) on Sep 21, 2012 at 06:32 UTC | |
by marto (Cardinal) on Sep 21, 2012 at 09:10 UTC | |
by Anonymous Monk on Sep 21, 2012 at 06:44 UTC | |
by Alle (Novice) on Sep 21, 2012 at 07:29 UTC | |
by Anonymous Monk on Sep 21, 2012 at 07:32 UTC | |
|