我在perl(5.12 ActiveState)中使用線程來允許在Windows上的兩個不同COM端口上進行並行和異步寫入。這就是我的代碼的樣子: #!/usr/bin/perl
use warnings;
use strict;
use Win32::SerialPort;
use threads;
my $ComPortObj = new Win32::SerialPort ("
我的Windows 7 64bit上的perl版本是5.16.2,我沒有安裝PAR:Packer。我嘗試了主動perl和草莓perl,都得到了同樣的錯誤。你能否給我一些建議。下面是我的經驗: 我試過ppm install PAR:Packer,版本1.013,但是當我使用PP,我得到了錯誤: Perl lib version (5.16.2) doesn't match executable ve
我試圖將perl程序轉換爲exe文件。我的perl版本是5.16.2在我的Windows 7 64位,我用PPM安裝PAR:封隔器,版本1.013,但是當我使用PP -o test.pl,我得到了錯誤: Perl lib version (5.16.2) doesn't match executable version (v5.16.0). 我用Google搜索廣泛,但迄今還沒有能夠找到解決方案,