On Tue, May 14, 2002 at 11:14:28AM -0500, _brian_d_foy wrote: > > Clay Irving suggested a short CPAN.pm demostration: > > > Index: perlfaq8.pod > =================================================================== > RCS file: /cvs/public/perlfaq/perlfaq8.pod,v > retrieving revision 1.7 > diff -u -d -r1.7 perlfaq8.pod > --- perlfaq8.pod 18 Apr 2002 14:23:15 -0000 1.7 > +++ perlfaq8.pod 14 May 2002 16:10:18 -0000 > @@ -968,9 +968,17 @@ > =head2 How do I install a module from CPAN? > > The easiest way is to have a module also named CPAN do it for you. > -This module comes with perl version 5.004 and later. To manually install > -the CPAN module, or any well-behaved CPAN module for that matter, follow > -these steps: > +This module comes with perl version 5.004 and later. > + > + $ perl -MCPAN -e shell > + > + cpan shell -- CPAN exploration and modules installation (v1.59_54) > + ReadLine support enabled > + > + cpan> install Some::Module > + > +To manually install the CPAN module, or any well-behaved CPAN module > +for that matter, follow these steps: > > =over 4
Please add, for those who access the internet only via "shell-accounts" (ie old-fashioned time-sharing; log in via phone-line into (distant) unix system, and once there, via *that* machines command-line, access the internet, via eg lynx, trn, and other non-gui programs). That is, show how the cpan module, run from the (distant) isp-machine via command-line, can help download (*onto* the (distant) machine) the needed modules for something on cpan, and then later, after all that is tarred-up and gzipped and downloaded (eg via kermit) over phone line to the *local* machine (from which one dialed into the isp's machine), then how cpan-module can help get that downloaded stuff actually *installed* into the local perl. --- That is, show how to break what cpan does as *one* task when connected via PPP, into *two* tasks when access to internet is via the two-stage process that's required when one is hooked in via "shell account". --- That discussion will also be useful to those who never use shell-accounts, for showing how the process can be broken into two parts will give the ppp-using reader more insight into just what cpan does and how it does it. (Also, it's documented no where else.) --- (Why do I want this? Because *I* use a shell-account!; in fact, am doing so right now.) Thanks David
