我使用工具 ppm 安装了几个 Perl 模块(即 PPD 文件):
PPM> query
Alien-wxWidgets [0.52 ] Developer version of wxWidgets binaries
Class-Load [0.08 ] a working (require "Class::Name") and more
Class-Singleton [1.4 ] Base class for creating singleton objects
DBI [1.616 ] Database independent interface for Perl
Data-Dumper [2.126 ] stringified perl data structures, suitable for
both printing and C<eval>
DateTime [0.70 ] A date and time object
DateTime-Locale [0.45 ] Localization support for DateTime.pm
DateTime-TimeZone [1.39 ] Time zone object base class and factory
File-chdir [0.1004 ] a more sensible way to change directories
Math-Round [0.06 ] Perl extension for rounding numbers
Params-Validate [1.00 ] Validate method/function parameters
Scalar-List-Utils [1.23 ] Common Scalar and List utility subroutines
TAP-Harness-JUnit [0.36 ] Generate JUnit compatible output from TAP results
UNIVERSAL-require [0.13 ] require() modules from a variable
Wx [0.99.0.1] Interface to the wxWidgets cross-platform GUI
toolkit
Wx-ActiveX [0.15 ]
Wx-Demo [0.13 ]
Wx-GLCanvas [0.09 ]
Wx-TreeListCtrl [0.13 ] interface to the Wx::TreeListCtrl class
PPM>
如何以编程方式备份安装这些 Perl 模块的原始 PPD 文件?
编辑#1:
我上面使用的 PPM 没有使用 activestate 存储库,这些是 PPM 存储库,可以为草莓 Perl 提供预构建的 PPD 文件。
这是 PPM 存储库之一的示例,http: //www.wxperl.co.uk/repository/ 。这是我正在使用的 PPM 版本:http ://search.cpan.org/~murray/PPM-2.1.9/bin/ppm.pl 。