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]
In reply to Re^6: pp can't pack MongoDB and Inline Module
by Alle
in thread pp can't pack MongoDB and Inline Module
by Alle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |