C:>ppm3
PPM - Programmer's Package Manager version 3.4.
Copyright (c) 2001 ActiveState Software Inc. All Rights Reserved.
Entering interactive shell. Using Term::ReadLine::Perl as readline library.
Type 'help' to get started.
ppm> rep add bribes http:://www.bribes.org/perl/ppm
Error: Can't initialize repository at 'http:://www.bribes.org/perl/ppm':
No such file or directory
ppm> rep add bribes http://www.bribes.org/perl/ppm
Repositories:
[1] ActiveState Package Repository
[2] bribes
ppm> rep up bribes
Repositories:
[1] bribes
[2] ActiveState Package Repository
ppm> install File-Temp
====================
Install 'File-Temp' version 0.18 in ActivePerl 5.8.8.817.
====================
Downloaded 31438 bytes.
Extracting 19/19: blib/lib/File/Temp.pm
Installing C:\Perl\html\site\lib\File\Temp.html
Installing C:\Perl\site\lib\File\Temp.pm
Successfully installed File-Temp version 0.18 in ActivePerl 5.8.8.817.
ppm> install Archive-Zip
Note: Package 'Archive-Zip' is already installed.
ppm> install Module-ScanDeps
====================
Install 'Module-ScanDeps' version 0.76 in ActivePerl 5.8.8.817.
====================
Downloaded 19001 bytes.
Extracting 30/30: blib/script/scandeps.pl
Installing C:\Perl\html\bin\scandeps.html
Installing C:\Perl\html\site\lib\Module\ScanDeps.html
Installing C:\Perl\html\site\lib\Module\ScanDeps\DataFeed.html
Installing C:\Perl\site\lib\Module\ScanDeps.pm
Installing C:\Perl\site\lib\Module\ScanDeps\DataFeed.pm
Installing C:\Perl\bin\scandeps.bat
Installing C:\Perl\bin\scandeps.pl
Successfully installed Module-ScanDeps version 0.76 in ActivePerl 5.8.8.817.
ppm> install PAR-Dist
====================
Install 'PAR-Dist' version 0.25 in ActivePerl 5.8.8.817.
====================
Downloaded 13395 bytes.
Extracting 19/19: blib/lib/PAR/Dist.pm
Installing C:\Perl\html\site\lib\PAR\Dist.html
Installing C:\Perl\site\lib\PAR\Dist.pm
Successfully installed PAR-Dist version 0.25 in ActivePerl 5.8.8.817.
ppm> install Win32-Exe
====================
Install 'Parse-Binary' version 0.10 in ActivePerl 5.8.8.817.
====================
Downloaded 12937 bytes.
Extracting 27/27: blib/lib/Parse/Binary.pm
Installing C:\Perl\html\site\lib\Parse\Binary.html
Installing C:\Perl\html\site\lib\Parse\Binary\FixedFormat.html
Installing C:\Perl\html\site\lib\Parse\Binary\FixedFormat\Variants.html
Installing C:\Perl\site\lib\Parse\Binary.pm
Installing C:\Perl\site\lib\Parse\Binary\FixedFormat.pm
Installing C:\Perl\site\lib\Parse\Binary\FixedFormat\Variants.pm
Successfully installed Parse-Binary version 0.10 in ActivePerl 5.8.8.817.
====================
Install 'Test-Simple' version 0.70 in ActivePerl 5.8.8.817.
====================
Downloaded 71710 bytes.
Extracting 36/36: blib/lib/Test/Tutorial.pod
Installing C:\Perl\html\site\lib\Test\Builder.html
Installing C:\Perl\html\site\lib\Test\More.html
Installing C:\Perl\html\site\lib\Test\Simple.html
Installing C:\Perl\html\site\lib\Test\Tutorial.html
Installing C:\Perl\html\site\lib\Test\Builder\Module.html
Installing C:\Perl\html\site\lib\Test\Builder\Tester.html
Installing C:\Perl\html\site\lib\Test\Builder\Tester\Color.html
Installing C:\Perl\site\lib\Test\Builder.pm
Installing C:\Perl\site\lib\Test\More.pm
Installing C:\Perl\site\lib\Test\Simple.pm
Installing C:\Perl\site\lib\Test\Tutorial.pod
Installing C:\Perl\site\lib\Test\Builder\Module.pm
Installing C:\Perl\site\lib\Test\Builder\Tester.pm
Installing C:\Perl\site\lib\Test\Builder\Tester\Color.pm
Successfully installed Test-Simple version 0.70 in ActivePerl 5.8.8.817.
====================
Install 'Win32-Exe' version 0.08 in ActivePerl 5.8.8.817.
====================
Downloaded 14715 bytes.
Extracting 55/55: blib/script/exe_update.pl
Installing C:\Perl\html\bin\exe_update.html
Installing C:\Perl\html\site\lib\Win32\Exe.html
Installing C:\Perl\site\lib\Win32\Exe.pm
Installing C:\Perl\site\lib\Win32\Exe\Base.pm
Installing C:\Perl\site\lib\Win32\Exe\DataDirectory.pm
Installing C:\Perl\site\lib\Win32\Exe\DebugDirectory.pm
Installing C:\Perl\site\lib\Win32\Exe\DebugTable.pm
Installing C:\Perl\site\lib\Win32\Exe\IconFile.pm
Installing C:\Perl\site\lib\Win32\Exe\PE.pm
Installing C:\Perl\site\lib\Win32\Exe\Resource.pm
Installing C:\Perl\site\lib\Win32\Exe\ResourceData.pm
Installing C:\Perl\site\lib\Win32\Exe\ResourceEntry.pm
Installing C:\Perl\site\lib\Win32\Exe\ResourceTable.pm
Installing C:\Perl\site\lib\Win32\Exe\Section.pm
Installing C:\Perl\site\lib\Win32\Exe\PE\Header.pm
Installing C:\Perl\site\lib\Win32\Exe\PE\Header\PE32.pm
Installing C:\Perl\site\lib\Win32\Exe\Resource\GroupIcon.pm
Installing C:\Perl\site\lib\Win32\Exe\Resource\Icon.pm
Installing C:\Perl\site\lib\Win32\Exe\Resource\Version.pm
Installing C:\Perl\site\lib\Win32\Exe\ResourceEntry\Id.pm
Installing C:\Perl\site\lib\Win32\Exe\ResourceEntry\Name.pm
Installing C:\Perl\site\lib\Win32\Exe\Section\Code.pm
Installing C:\Perl\site\lib\Win32\Exe\Section\Data.pm
Installing C:\Perl\site\lib\Win32\Exe\Section\Debug.pm
Installing C:\Perl\site\lib\Win32\Exe\Section\Exports.pm
Installing C:\Perl\site\lib\Win32\Exe\Section\Imports.pm
Installing C:\Perl\site\lib\Win32\Exe\Section\Resources.pm
Installing C:\Perl\bin\exe_update.bat
Installing C:\Perl\bin\exe_update.pl
Successfully installed Win32-Exe version 0.08 in ActivePerl 5.8.8.817.
ppm> install Digest-SHA
====================
Install 'Digest-SHA' version 5.45 in ActivePerl 5.8.8.817.
====================
Downloaded 30463 bytes.
Extracting 29/29: blib/script/shasum.bat
Installing C:\Perl\site\lib\auto\Digest\SHA\SHA.bs
Installing C:\Perl\site\lib\auto\Digest\SHA\SHA.dll
Installing C:\Perl\site\lib\auto\Digest\SHA\SHA.exp
Installing C:\Perl\site\lib\auto\Digest\SHA\SHA.lib
Installing C:\Perl\html\bin\shasum.html
Installing C:\Perl\html\site\lib\Digest\SHA.html
Files found in blib\arch: installing files in blib\lib into architecture depende
nt library tree
Installing C:\Perl\site\lib\Digest\SHA.pm
Installing C:\Perl\bin\shasum
Installing C:\Perl\bin\shasum.bat
Successfully installed Digest-SHA version 5.45 in ActivePerl 5.8.8.817.
ppm> install Module-Signature
====================
Install 'Module-Signature' version 0.55 in ActivePerl 5.8.8.817.
====================
Downloaded 13655 bytes.
Extracting 26/26: blib/script/cpansign.bat
Installing C:\Perl\html\bin\cpansign.html
Installing C:\Perl\html\site\lib\Module\Signature.html
Installing C:\Perl\site\lib\Module\Signature.pm
Installing C:\Perl\bin\cpansign
Installing C:\Perl\bin\cpansign.bat
Successfully installed Module-Signature version 0.55 in ActivePerl 5.8.8.817.
ppm> install PAR
====================
Install 'AutoLoader' version 5.63 in ActivePerl 5.8.8.817.
====================
Downloaded 7985 bytes.
Extracting 15/15: blib/lib/AutoLoader.pm
Installing C:\Perl\html\site\lib\AutoLoader.html
Installing C:\Perl\site\lib\AutoLoader.pm
Successfully installed AutoLoader version 5.63 in ActivePerl 5.8.8.817.
====================
Install 'PAR' version 0.976 in ActivePerl 5.8.8.817.
====================
Downloaded 64347 bytes.
Extracting 25/25: blib/lib/PAR.pm
Installing C:\Perl\html\site\lib\PAR.html
Installing C:\Perl\html\site\lib\PAR\Environment.html
Installing C:\Perl\html\site\lib\PAR\FAQ.html
Installing C:\Perl\html\site\lib\PAR\Heavy.html
Installing C:\Perl\html\site\lib\PAR\Tutorial.html
Installing C:\Perl\site\lib\PAR.pm
Installing C:\Perl\site\lib\PAR\Environment.pod
Installing C:\Perl\site\lib\PAR\FAQ.pod
Installing C:\Perl\site\lib\PAR\Heavy.pm
Installing C:\Perl\site\lib\PAR\Tutorial.pod
Successfully installed PAR version 0.976 in ActivePerl 5.8.8.817.
ppm> q
C:\>pp -V
'pp' は、内部コマンドまたは外部コマンド、
操作可能なプログラムまたはバッチ ファイルとして認識されていません。
[注]Version 0.970 以降の PAR では,pp コマンドが同梱されておらず,
以上に述べられている方法ではインストールがうまくいきません。
[Changes for 0.970 - Dec 3, 2006]
* This release introduces some rather radical changes, so read carefully:
* All PAR::Packer related logic has been moved to a separate distribution,
PAR-Packer. This includes pp, parl and all packaging tools. This way,
PAR becomes a pure-Perl distribution that can be most easily installed by
users of software which requires PAR.
Developers who want to use the PAR packager, pp, need to install the
PAR-Packer distribution from CPAN.
ppm> search PAR-Packer
Searching in Active Repositories
1. PAR-Packer [0.976] PAR Packager
2. PAR-Packer [0.976] PAR Packager
ppm> install 1
Package 1:
====================
Install 'Getopt-ArgvFile' version 1.11 in ActivePerl 5.8.8.817.
====================
Downloaded 15164 bytes.
Extracting 19/19: blib/lib/Getopt/ArgvFile.pm
Installing C:\Perl\html\site\lib\Getopt\ArgvFile.html
Installing C:\Perl\site\lib\Getopt\ArgvFile.pm
Successfully installed Getopt-ArgvFile version 1.11 in ActivePerl 5.8.8.817.
====================
Install 'PAR-Packer' version 0.976 in ActivePerl 5.8.8.817.
====================
Downloaded 1612970 bytes.
Extracting 63/63: blib/script/tkpp.bat
Installing C:\Perl\html\bin\par.html
Installing C:\Perl\html\bin\tkpp.html
Installing C:\Perl\html\site\lib\pp.html
Installing C:\Perl\html\site\lib\App\Packer\PAR.html
Installing C:\Perl\html\site\lib\PAR\Filter.html
Installing C:\Perl\html\site\lib\PAR\Packer.html
Installing C:\Perl\html\site\lib\PAR\Filter\Bleach.html
Installing C:\Perl\html\site\lib\PAR\Filter\Bytecode.html
Installing C:\Perl\html\site\lib\PAR\Filter\Obfuscate.html
Installing C:\Perl\html\site\lib\PAR\Filter\PatchContent.html
Installing C:\Perl\html\site\lib\PAR\Filter\PodStrip.html
Installing C:\Perl\html\site\lib\PAR\StrippedPARL\Base.html
Installing C:\Perl\html\site\lib\PAR\StrippedPARL\Dynamic.html
Installing C:\Perl\html\site\lib\PAR\StrippedPARL\Static.html
Installing C:\Perl\site\lib\pp.pm
Installing C:\Perl\site\lib\App\Packer\PAR.pm
Installing C:\Perl\site\lib\PAR\Filter.pm
Installing C:\Perl\site\lib\PAR\Packer.pm
Installing C:\Perl\site\lib\PAR\Filter\Bleach.pm
Installing C:\Perl\site\lib\PAR\Filter\Bytecode.pm
Installing C:\Perl\site\lib\PAR\Filter\Obfuscate.pm
Installing C:\Perl\site\lib\PAR\Filter\PatchContent.pm
Installing C:\Perl\site\lib\PAR\Filter\PodStrip.pm
Installing C:\Perl\site\lib\PAR\StrippedPARL\Base.pm
Installing C:\Perl\site\lib\PAR\StrippedPARL\Dynamic.pm
Installing C:\Perl\site\lib\PAR\StrippedPARL\Static.pm
Installing C:\Perl\bin\par.bat
Installing C:\Perl\bin\par.pl
Installing C:\Perl\bin\parl.exe
Installing C:\Perl\bin\parldyn.exe
Installing C:\Perl\bin\pp
Installing C:\Perl\bin\pp.bat
Installing C:\Perl\bin\tkpp
Installing C:\Perl\bin\tkpp.bat
Successfully installed PAR-Packer version 0.976 in ActivePerl 5.8.8.817.
C:>pp -V
PAR Packager, version 0.976 (PAR version 0.976)
Copyright 2002-2007 by Audrey Tang
Neither this program nor the associated "parl" program impose any
licensing restrictions on files generated by their execution, in
accordance with the 8th article of the Artistic License:
"Aggregation of this Package with a commercial distribution is
always permitted provided that the use of this Package is embedded;
that is, when no overt attempt is made to make this Package's
interfaces visible to the end user of the commercial distribution.
Such use shall not be construed as a distribution of this Package."
Therefore, you are absolutely free to place any license on the resulting
executable, as long as the packed 3rd-party libraries are also available
under the Artistic License.
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself. There is NO warranty; not even for
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
C:>pp -o hello.exe hello.pl
Perl lib version (v5.8.8) doesn't match executable version (v5.8.6) at C:/Perl/lib/Config.pm line 46.
Compilation failed in require at C:/Perl/lib/Errno.pm line 8.
BEGIN failed--compilation aborted at C:/Perl/lib/Errno.pm line 8.
Compilation failed in require at C:/Perl/site/lib/File/Temp.pm line 144.
BEGIN failed--compilation aborted at C:/Perl/site/lib/File/Temp.pm line 144.
Compilation failed in require at C:/Perl/site/lib/Archive/Zip.pm line 26.
BEGIN failed--compilation aborted at C:/Perl/site/lib/Archive/Zip.pm line 26.
Compilation failed in require at -e line 406.
C:\Perl\bin\pp: Failed to extract a parl from 'PAR::StrippedPARL::Static' to file 'parloCFoNBq.exe' at
C:/Perl/site/lib/PAR/Packer.pm line 1149, line 1.
C:>ppm install http://theoryx5.uwinnipeg.ca/ppms/PAR-Packer-588.ppd
====================
Install 'PAR-Packer-588' version 0.973 in ActivePerl 5.8.8.817.
====================
Installing C:\Perl\html\bin\par.html
Installing C:\Perl\html\bin\tkpp.html
Installing C:\Perl\html\site\lib\pp.html
Installing C:\Perl\html\site\lib\PAR\Filter.html
Installing C:\Perl\html\site\lib\PAR\Packer.html
Installing C:\Perl\html\site\lib\PAR\Filter\Bleach.html
Installing C:\Perl\html\site\lib\PAR\Filter\Bytecode.html
Installing C:\Perl\html\site\lib\PAR\Filter\Obfuscate.html
Installing C:\Perl\html\site\lib\PAR\Filter\PatchContent.html
Installing C:\Perl\html\site\lib\PAR\Filter\PodStrip.html
Installing C:\Perl\html\site\lib\PAR\StrippedPARL\Dynamic.html
Installing C:\Perl\html\site\lib\PAR\StrippedPARL\Static.html
Installing C:\Perl\site\lib\pp.pm
Installing C:\Perl\site\lib\App\Packer\PAR.pm
Installing C:\Perl\site\lib\PAR\Filter.pm
Installing C:\Perl\site\lib\PAR\Packer.pm
Installing C:\Perl\site\lib\PAR\Filter\Bleach.pm
Installing C:\Perl\site\lib\PAR\Filter\Bytecode.pm
Installing C:\Perl\site\lib\PAR\Filter\Obfuscate.pm
Installing C:\Perl\site\lib\PAR\Filter\PatchContent.pm
Installing C:\Perl\site\lib\PAR\Filter\PodStrip.pm
Installing C:\Perl\site\lib\PAR\StrippedPARL\Base.pm
Installing C:\Perl\site\lib\PAR\StrippedPARL\Dynamic.pm
Installing C:\Perl\site\lib\PAR\StrippedPARL\Static.pm
Installing C:\Perl\bin\par.bat
Installing C:\Perl\bin\par.pl
Installing C:\Perl\bin\parl.exe
Installing C:\Perl\bin\parldyn.exe
Installing C:\Perl\bin\pp
Installing C:\Perl\bin\tkpp
Successfully installed PAR-Packer-588 version 0.973 in ActivePerl 5.8.8.817.
C:>pp -V
PAR Packager, version 0.973 (PAR version 0.976)
Copyright 2002, 2003, 2004, 2005, 2006 by Audrey Tang
Neither this program nor the associated "parl" program impose any
licensing restrictions on files generated by their execution, in
accordance with the 8th article of the Artistic License:
"Aggregation of this Package with a commercial distribution is
always permitted provided that the use of this Package is embedded;
that is, when no overt attempt is made to make this Package's
interfaces visible to the end user of the commercial distribution.
Such use shall not be construed as a distribution of this Package."
Therefore, you are absolutely free to place any license on the resulting
executable, as long as the packed 3rd-party libraries are also available
under the Artistic License.
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself. There is NO warranty; not even for
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
----------------------------------------------------------------------------
######################################
# hello.pl
######################################
use strict;
my($n);
for $n ( 1..9) {
print "$n==>Hello!\n";
}
----------------------------------------------------------------------------
C:>perl hello.pl
1==>Hello!
2==>Hello!
3==>Hello!
4==>Hello!
5==>Hello!
6==>Hello!
7==>Hello!
8==>Hello!
9==>Hello!
----------------------------------------------------------------------------
C:>pp -o hello.exe hello.pl
C:>hello.exe
1==>Hello!
2==>Hello!
3==>Hello!
4==>Hello!
5==>Hello!
6==>Hello!
7==>Hello!
8==>Hello!
9==>Hello!
|