#!perl -w
#生成perl2exe 注册码 crperl2exe
open(FP,"|perl2exe -register");
for($i=999;$i<100000;$i++)
{
print FP "flynaj:foo:20080808,$in";
}
close(FP);
#Perl2Exe V9.100C 下的结果 flynaj:foo:20080808,12048
5. 再有中文支持的情况下,perl2exe v9 执行失败,所以英文版本可以安全地转。
1.使用方法:
D:/bruce/Study/perl/201106>C:/Perl/p2x-8.82-Win32/perl2exe.exe -gui EntryTk.pl
Perl2Exe V8.82 Copyright (c) 1997-2007 IndigoSTAR Software
Registered to 1v1:name:20070320, ENT version
Converting 'EntryTk.pl' to EntryTk.exe
点击EntryTk.exe就可以了,没有控制台,也不需要脚步和其他库。
2. 注册方法:
C:p2x-8.80-Win32>perl2exe -register
Perl2Exe V8.80 Copyright (c) 1997-2006 IndigoSTAR Software
Please enter your registration key, or press enter to cancel
1v1:name:20070320,54419
Registered
3. "Can't locate somemodule.pm in @INC at myscript.pl line 1" error message
解决方法1:
If you get an error message like the one above, you can force the missing module to be compiled into the exe by adding a line like one of the following to your script:
#perl2exe_include "somemodule.pm";
Or if the message is "Can't locate Foo/Bar.pm in ...":
#perl2exe_include "Foo/Bar.pm";
解决方法2:
If it dies with a "Can't locate somemodule.pm in @INC ... " error message, then add an explicit use statement for the missing module to your script.
4. 其他版本的注册码获取,都是暴利方式,如下:
#!perl -w
#生成perl2exe 注册码 crperl2exe
open(FP,"|perl2exe -register");
for($i=999;$i<100000;$i++)
{
print FP "flynaj:foo:20080808,$in";
}
close(FP);
#Perl2Exe V9.100C 下的结果 flynaj:foo:20080808,12048
5. 再有中文支持的情况下,perl2exe v9 执行失败,所以英文版本可以安全地转。