From: Mark-Jason Dominus Date: Thu, 8 Nov 2001 13:33:18 +0000 (+0000) Subject: replace http://www.perl.com/CPAN/ with http://www.cpan.org/ X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a93751fa40b15f424f91bba70d1533c6b4024e42;p=p5sagit%2Fp5-mst-13.2.git replace perl.com/CPAN/ with http://www.cpan.org/ Message-Id: <20011108133318.1786.qmail@plover.com> p4raw-id: //depot/perl@12897 --- diff --git a/Porting/pumpkin.pod b/Porting/pumpkin.pod index 44fde71..179862d 100644 --- a/Porting/pumpkin.pod +++ b/Porting/pumpkin.pod @@ -24,7 +24,7 @@ and all the various auxiliary files that are part of the distribution. The Comprehensive Perl Archive Network (or CPAN) is the place to go. There are many mirrors, but the easiest thing to use is probably -http://www.perl.com/CPAN/README.html , which automatically points you to a +http://www.cpan.org/README.html , which automatically points you to a mirror site "close" to you. =head2 Perl5-porters mailing list @@ -359,7 +359,7 @@ on obtaining and running metaconfig is in the F file that comes with Perl's metaconfig units. Perl's metaconfig units should be available on CPAN. A set of units that will work with perl5.005 is in the file F under -http://www.perl.com/CPAN/authors/id/ANDYD/ . The mc_units tar file +http://www.cpan.org/authors/id/ANDYD/ . The mc_units tar file should be unpacked in your main perl source directory. Note: those units were for use with 5.005. There may have been changes since then. Check for later versions or contact perl5-porters@perl.org to obtain a @@ -633,7 +633,7 @@ script. I find the F utility quite handy for making patches. You can obtain it from any CPAN archive under -http://www.perl.com/CPAN/authors/Johan_Vromans/ . There are a couple +http://www.cpan.org/authors/Johan_Vromans/ . There are a couple of differences between my version and the standard one. I have mine do a @@ -1273,7 +1273,7 @@ reflection, I'd say leave libperl.so in $archlib. =head1 Upload Your Work to CPAN You can upload your work to CPAN if you have a CPAN id. Check out -http://www.perl.com/CPAN/modules/04pause.html for information on +http://www.cpan.org/modules/04pause.html for information on _PAUSE_, the Perl Author's Upload Server. I typically upload both the patch file, e.g. F @@ -1281,7 +1281,7 @@ and the full tar file, e.g. F. If you want your patch to appear in the F directory on CPAN, send e-mail to the CPAN master librarian. (Check -out http://www.perl.com/CPAN/CPAN.html ). +out http://www.cpan.org/CPAN.html ). =head1 Help Save the World diff --git a/lib/Net/libnetFAQ.pod b/lib/Net/libnetFAQ.pod index d9dcfaa..4e2152a 100644 --- a/lib/Net/libnetFAQ.pod +++ b/lib/Net/libnetFAQ.pod @@ -65,7 +65,7 @@ should not be the case with perl version 5.004 or later. The latest libnet release is always on CPAN, you will find it in - http://www.perl.com/CPAN/modules/by-module/Net/ + http://www.cpan.org/modules/by-module/Net/ The latest release and information is also avaliable on the libnet web page at diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 6c6655c..365faa6 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -3150,8 +3150,8 @@ account you tested it under), does not rely on any environment variables location where the CGI server can't find it, basically, more or less. Please see the following for more information: - http://www.perl.com/CPAN/doc/FAQs/cgi/idiots-guide.html - http://www.perl.com/CPAN/doc/FAQs/cgi/perl-cgi-faq.html + http://www.cpan.org/doc/FAQs/cgi/idiots-guide.html + http://www.cpan.org/doc/FAQs/cgi/perl-cgi-faq.html ftp://rtfm.mit.edu/pub/usenet/news.answers/www/cgi-faq http://hoohoo.ncsa.uiuc.edu/cgi/interface.html http://www-genome.wi.mit.edu/WWW/faqs/www-security-faq.html diff --git a/pod/perlfaq1.pod b/pod/perlfaq1.pod index 3e50a57..1004e52 100644 --- a/pod/perlfaq1.pod +++ b/pod/perlfaq1.pod @@ -252,12 +252,12 @@ programmers prefer to avoid them altogether. These are the "just another perl hacker" signatures that some people sign their postings with. Randal Schwartz made these famous. About 100 of the earlier ones are available from -http://www.perl.com/CPAN/misc/japh . +http://www.cpan.org/misc/japh . =head2 Where can I get a list of Larry Wall witticisms? Over a hundred quips by Larry, from postings of his or source code, -can be found at http://www.perl.com/CPAN/misc/lwall-quotes.txt.gz . +can be found at http://www.cpan.org/misc/lwall-quotes.txt.gz . =head2 How can I convince my sysadmin/supervisor/employees to use version 5/5.005/Perl instead of some other language? diff --git a/pod/perlfaq2.pod b/pod/perlfaq2.pod index 52dc457..8068db9 100644 --- a/pod/perlfaq2.pod +++ b/pod/perlfaq2.pod @@ -97,7 +97,7 @@ third-party modules and extensions, designed for everything from commercial database interfaces to keyboard/screen control to web walking and CGI scripts. The master web site for CPAN is http://www.cpan.org/ and there is the CPAN Multiplexer at -http://www.perl.com/CPAN/CPAN.html which will choose a mirror near you +http://www.cpan.org/CPAN.html which will choose a mirror near you via DNS. See http://www.perl.com/CPAN (without a slash at the end) for how this process works. Also, http://mirror.cpan.org/ has a nice interface to the http://www.cpan.org/MIRRORED.BY diff --git a/pod/perlfaq3.pod b/pod/perlfaq3.pod index d870be8..842f78c 100644 --- a/pod/perlfaq3.pod +++ b/pod/perlfaq3.pod @@ -22,7 +22,7 @@ Have you read the appropriate manpages? Here's a brief index: Regexes perlre, perlfunc, perlop, perllocale Moving to perl5 perltrap, perl Linking w/C perlxstut, perlxs, perlcall, perlguts, perlembed - Various http://www.perl.com/CPAN/doc/FMTEYEWTK/index.html + Various http://www.cpan.org/doc/FMTEYEWTK/index.html (not a man-page but still useful) A crude table of contents for the Perl manpage set is found in L. @@ -156,7 +156,7 @@ http://www.perl.com/CPAN-local/authors/id/TOMC/scripts/toms.exrc.gz If you are used to using the I program for printing out nice code to a laser printer, you can take a stab at this using -http://www.perl.com/CPAN/doc/misc/tips/working.vgrind.entry, but the +http://www.cpan.org/doc/misc/tips/working.vgrind.entry, but the results are not particularly satisfying for sophisticated code. The a2ps at http://www.infres.enst.fr/%7Edemaille/a2ps/ does lots of things @@ -169,7 +169,7 @@ EXUBERANT CTAGS is available from http://ctags.sourceforge.net/ and does a good job of making tags files for perl code. There is also a simple one at -http://www.perl.com/CPAN/authors/id/TOMC/scripts/ptags.gz which may do +http://www.cpan.org/authors/id/TOMC/scripts/ptags.gz which may do the trick. It can be easy to hack this into what you want. =head2 Is there an IDE or Windows Perl Editor? @@ -385,10 +385,10 @@ OS X and BeOS respectively (http://www.hekkelman.com/). =head2 Where can I get Perl macros for vi? For a complete version of Tom Christiansen's vi configuration file, -see http://www.perl.com/CPAN/authors/Tom_Christiansen/scripts/toms.exrc.gz , +see http://www.cpan.org/authors/Tom_Christiansen/scripts/toms.exrc.gz , the standard benchmark file for vi emulators. The file runs best with nvi, the current version of vi out of Berkeley, which incidentally can be built -with an embedded Perl interpreter--see http://www.perl.com/CPAN/src/misc. +with an embedded Perl interpreter--see http://www.cpan.org/src/misc. =head2 Where can I get perl-mode for emacs? @@ -409,7 +409,7 @@ shouldn't be an issue. The Curses module from CPAN provides a dynamically loadable object module interface to a curses library. A small demo can be found at the -directory http://www.perl.com/CPAN/authors/Tom_Christiansen/scripts/rep; +directory http://www.cpan.org/authors/Tom_Christiansen/scripts/rep; this program repeats a command and updates the screen as needed, rendering B similar to B. @@ -418,7 +418,7 @@ B similar to B. Tk is a completely Perl-based, object-oriented interface to the Tk toolkit that doesn't force you to use Tcl just to get at Tk. Sx is an interface to the Athena Widget set. Both are available from CPAN. See the -directory http://www.perl.com/CPAN/modules/by-category/08_User_Interfaces/ +directory http://www.cpan.org/modules/by-category/08_User_Interfaces/ Invaluable for Perl/Tk programming are the Perl/Tk FAQ at http://w4.lns.cornell.edu/%7Epvhp/ptk/ptkTOC.html , the Perl/Tk Reference @@ -429,7 +429,7 @@ http://www-users.cs.umn.edu/%7Eamundson/perl/perltk/toc.html . =head2 How can I generate simple menus without using CGI or Tk? -The http://www.perl.com/CPAN/authors/id/SKUNZ/perlmenu.v4.0.tar.gz +The http://www.cpan.org/authors/id/SKUNZ/perlmenu.v4.0.tar.gz module, which is curses-based, can help with this. =head2 What is undump? @@ -670,7 +670,7 @@ Both of these solutions can have far-reaching effects on your system and on the way you write your CGI programs, so investigate them with care. -See http://www.perl.com/CPAN/modules/by-category/15_World_Wide_Web_HTML_HTTP_CGI/ . +See http://www.cpan.org/modules/by-category/15_World_Wide_Web_HTML_HTTP_CGI/ . A non-free, commercial product, ``The Velocity Engine for Perl'', (http://www.binevolve.com/ or http://www.binevolve.com/velocigen/ ) @@ -879,7 +879,7 @@ guides and references in L or in the CGI MetaFAQ: A good place to start is L, and you can use L, L, and L for reference. Perltoot didn't come out until the 5.004 release; you can get a copy (in pod, html, or -postscript) from http://www.perl.com/CPAN/doc/FMTEYEWTK/ . +postscript) from http://www.cpan.org/doc/FMTEYEWTK/ . =head2 Where can I learn about linking C with Perl? [h2xs, xsubpp] diff --git a/pod/perlfaq4.pod b/pod/perlfaq4.pod index faccc22..d46bd15 100644 --- a/pod/perlfaq4.pod +++ b/pod/perlfaq4.pod @@ -322,7 +322,7 @@ will not create a list of 500,000 integers. =head2 How can I output Roman numerals? -Get the http://www.perl.com/CPAN/modules/by-module/Roman module. +Get the http://www.cpan.org/modules/by-module/Roman module. =head2 Why aren't my random numbers random? @@ -334,7 +334,7 @@ than more. Computers are good at being predictable and bad at being random (despite appearances caused by bugs in your programs :-). -http://www.perl.com/CPAN/doc/FMTEYEWTK/random , courtesy of Tom +http://www.cpan.org/doc/FMTEYEWTK/random , courtesy of Tom Phoenix, talks more about this. John von Neumann said, ``Anyone who attempts to generate random numbers by deterministic means is, of course, living in a state of sin.'' @@ -1473,7 +1473,7 @@ If you need to sort on several fields, the following paradigm is useful. This can be conveniently combined with precalculation of keys as given above. -See http://www.perl.com/CPAN/doc/FMTEYEWTK/sort.html for more about +See http://www.cpan.org/doc/FMTEYEWTK/sort.html for more about this approach. See also the question below on sorting hashes. diff --git a/pod/perlfaq5.pod b/pod/perlfaq5.pod index 95957eb..2d34bfa 100644 --- a/pod/perlfaq5.pod +++ b/pod/perlfaq5.pod @@ -838,7 +838,7 @@ Or even: Otherwise you'll have to write your own multiplexing print function--or your own tee program--or use Tom Christiansen's, -at http://www.perl.com/CPAN/authors/id/TOMC/scripts/tct.gz , which is +at http://www.cpan.org/authors/id/TOMC/scripts/tct.gz , which is written in Perl and offers much greater functionality than the stock version. @@ -1130,7 +1130,7 @@ documentation for details. This is elaborately and painstakingly described in the "Far More Than You Ever Wanted To Know" in -http://www.perl.com/CPAN/doc/FMTEYEWTK/file-dir-perms . +http://www.cpan.org/doc/FMTEYEWTK/file-dir-perms . The executive summary: learn how your filesystem works. The permissions on a file say what can happen to the data in that file. diff --git a/pod/perlfaq6.pod b/pod/perlfaq6.pod index 4a52259..81a9f3f 100644 --- a/pod/perlfaq6.pod +++ b/pod/perlfaq6.pod @@ -404,7 +404,7 @@ are many others. An elaborate subroutine (for 7-bit ASCII only) to pull out balanced and possibly nested single chars, like C<`> and C<'>, C<{> and C<}>, or C<(> and C<)> can be found in -http://www.perl.com/CPAN/authors/id/TOMC/scripts/pull_quotes.gz . +http://www.cpan.org/authors/id/TOMC/scripts/pull_quotes.gz . The C::Scan module from CPAN also contains such subs for internal use, but they are undocumented. diff --git a/pod/perlfaq8.pod b/pod/perlfaq8.pod index 19be3be..c093b77 100644 --- a/pod/perlfaq8.pod +++ b/pod/perlfaq8.pod @@ -635,7 +635,7 @@ STDOUT). Note that you I use Bourne shell (sh(1)) redirection syntax in backticks, not csh(1)! Details on why Perl's system() and backtick and pipe opens all use the Bourne shell are in -http://www.perl.com/CPAN/doc/FMTEYEWTK/versus/csh.whynot . +http://www.cpan.org/doc/FMTEYEWTK/versus/csh.whynot . To capture a command's STDERR and STDOUT together: $output = `cmd 2>&1`; # either with backticks @@ -811,7 +811,7 @@ causes many inefficiencies. =head2 Can I use perl to run a telnet or ftp session? Try the Net::FTP, TCP::Client, and Net::Telnet modules (available from -CPAN). http://www.perl.com/CPAN/scripts/netstuff/telnet.emul.shar +CPAN). http://www.cpan.org/scripts/netstuff/telnet.emul.shar will also help for emulating the telnet protocol, but Net::Telnet is quite probably easier to use.. @@ -953,7 +953,7 @@ in L. =head2 How do I use an SQL database? There are a number of excellent interfaces to SQL databases. See the -DBD::* modules available from http://www.perl.com/CPAN/modules/DBD . +DBD::* modules available from http://www.cpan.org/modules/DBD . A lot of information on this can be found at http://www.symbolstone.org/technology/perl/DBI/ diff --git a/pod/perlfaq9.pod b/pod/perlfaq9.pod index 62e3069..e3488e5 100644 --- a/pod/perlfaq9.pod +++ b/pod/perlfaq9.pod @@ -115,7 +115,7 @@ Here's one "simple-minded" approach, that works for most files: If you want a more complete solution, see the 3-stage striphtml program in -http://www.perl.com/CPAN/authors/Tom_Christiansen/scripts/striphtml.gz +http://www.cpan.org/authors/Tom_Christiansen/scripts/striphtml.gz . Here are some tricky cases that you should think about when picking @@ -272,7 +272,7 @@ with a complete URL. This redirection is handled by the web browser. use CGI qw/:standard/; - my $url = 'http://www.perl.com/CPAN/'; + my $url = 'http://www.cpan.org/'; print redirect($url); @@ -377,7 +377,7 @@ mail addresses with a simple regex, such as C. It's a very bad idea. However, this also throws out many valid ones, and says nothing about potential deliverability, so it is not suggested. Instead, see -http://www.perl.com/CPAN/authors/Tom_Christiansen/scripts/ckaddr.gz, +http://www.cpan.org/authors/Tom_Christiansen/scripts/ckaddr.gz, which actually checks against the full RFC spec (except for nested comments), looks for addresses you may not wish to accept mail to (say, Bill Clinton or your postmaster), and then makes sure that the diff --git a/pod/perlmodinstall.pod b/pod/perlmodinstall.pod index 0fc359e..ea28725 100644 --- a/pod/perlmodinstall.pod +++ b/pod/perlmodinstall.pod @@ -8,9 +8,9 @@ You can think of a module as the fundamental unit of reusable Perl code; See L for details. Whenever anyone creates a chunk of Perl code that they think will be useful to the world, they register as a Perl developer at -http://www.perl.com/CPAN/modules/04pause.html so that they can then +http://www.cpan.org/modules/04pause.html so that they can then upload their code to CPAN. CPAN is the Comprehensive Perl Archive -Network and can be accessed at http://www.perl.com/CPAN/, or searched +Network and can be accessed at http://www.cpan.org/, or searched via http://cpan.perl.com/ and http://theory.uwinnipeg.ca/mod_perl/cpan-search.pl . @@ -57,7 +57,7 @@ B You can use Andreas Koenig's CPAN module (which comes standard with Perl, or can itself be downloaded -from http://www.perl.com/CPAN/modules/by-module/CPAN) +from http://www.cpan.org/modules/by-module/CPAN) to automate the following steps, from DECOMPRESS through INSTALL. A. DECOMPRESS diff --git a/pod/perlport.pod b/pod/perlport.pod index 287eaf5..4edf710 100644 --- a/pod/perlport.pod +++ b/pod/perlport.pod @@ -1937,7 +1937,7 @@ First public release with perl5.005. As of early 2001 (the Perl releases 5.6.1 and 5.7.1), the following platforms are able to build Perl from the standard source code -distribution available at http://www.perl.com/CPAN/src/index.html +distribution available at http://www.cpan.org/src/index.html AIX AmigaOS @@ -2063,7 +2063,7 @@ Support for the following platform is planned for a future Perl release: Netware The following platforms have their own source code distributions and -binaries available via http://www.perl.com/CPAN/ports/index.html: +binaries available via http://www.cpan.org/ports/index.html: Perl release @@ -2072,7 +2072,7 @@ binaries available via http://www.perl.com/CPAN/ports/index.html: Tandem Guardian 5.004 The following platforms have only binaries available via -http://www.perl.com/CPAN/ports/index.html : +http://www.cpan.org/ports/index.html : Perl release @@ -2083,7 +2083,7 @@ http://www.perl.com/CPAN/ports/index.html : Although we do suggest that you always build your own Perl from the source code, both for maximal configurability and for security, in case you are in a hurry you can check -http://www.perl.com/CPAN/ports/index.html for binary distributions. +http://www.cpan.org/ports/index.html for binary distributions. =head1 SEE ALSO diff --git a/pod/perlvar.pod b/pod/perlvar.pod index d34daa6..2f31ea7 100644 --- a/pod/perlvar.pod +++ b/pod/perlvar.pod @@ -1381,7 +1381,7 @@ expression matches in a program, regardless of whether they occur in the scope of C. For that reason, saying C in libraries is strongly discouraged. See the Devel::SawAmpersand module documentation from CPAN -(http://www.perl.com/CPAN/modules/by-module/Devel/) +(http://www.cpan.org/modules/by-module/Devel/) for more information. Having to even think about the C<$^S> variable in your exception