原文:
5. What/Where isCPAN?
"CPAN" = Comprehensive Perl Archive Network a worldwide collection of anonymous ftp sites for Perl et al (not to be confused with CTAN which is for TeX, nor CSPAN which rarely deals with computer software). The files of particular interest to a perl/Tk programmer would include:
* The latest Tk release should be in the modules/by-authors/Nick_Ing-Simmons/ directory at any CPAN ftp site (listed below).
* The latest official Perl release should be in the src/ directory in a file called latest.tar.gz at any CPAN ftp site (listed below).
* A recent binary distribution of perl+Tk+many other modules should bin in the modules/by-authors/Gurusamy_Sarathy/ at any CPAN ftp site (listed below).
* If you need something older or newer than the "latest supported release" of Perl try the src/5.0/ directory at any CPAN ftp site (listed below).
There are a number of modules available for use with Tk. Among them:
* Alan Scheinine's SelFile.pm is in the modules/by-authors/Alan_Scheinine/ directory at any CPAN ftp site (listed below).
* The widget collection Graham Barr originally wrote can be found with a CPAN search for "Tk-GBARR".
* Guy Decoux's BLT_Table geometry manager is in the modules/by-authors/id/GUYDX/ directory at any CPAN ftp site (listed below).
* Ilya Zakharevich's eText plug in replacement for the Text widget is in the modules/by-authors/id/ILYAZ/etext/ directory at any CPAN ftp site (listed below).
* Brent B. Powers' Tk-File
Dialog and Tk-WaitBox are available from the modules/by-authors/id/BPOWERS/ directory at any CPAN ftp site (listed below).
Some of the fancier perl/Tk scripts (news readers and web browsers e.g.) make use of other perl modules/module-bundles. Among those that you ought to consider installing are:
* To run the ptknews script you will need Mail/Internet.pm from the Mailtools module kit, available from the modules/by-authors/id/GBARR/ directory at any CPAN ftp/http site (listed below). While there pick up the latest libnet-* module bundle too.
* The build of recent versions of perl/Tk requests that you have the URI::URL and
HTML::Parse modules already installed. These modules are part of the libwww-perl-*.tar.gz kit, available from the modules/by-authors/id/GAAS/ at any CPAN ftp/http site (listed below).
Documentation is available from CPAN:
* Assorted documentation for perl is in the doc/ directory at any CPAN ftp site (listed below).
* Fairly up-to-date versions of some Perl/Tk external documentation (such as this FAQ) is in the modules/by-authors/id/PVHP/ directory at any CPAN ftp/http site (listed below).
(for Perl/Tk official documentation check the Tk/doc/*.htm files that are built with Nick's Tk kit on your computer.)
Bringing it all together one can look at:
* Most things perl/Tk (with certain exceptions) are also linked to a modules/by-module/Tk/ directory at any CPAN ftp/http site (listed below).
* The long version of Tim Bunce and Andreas Koenig's module list helps you sort out things like "which kit is HTML:
9
7
3
1
2
3
4
5
4
8
: