ЭЛЕКТРОННАЯ БИБЛИОТЕКА КОАПП |
Сборники Художественной, Технической, Справочной, Английской, Нормативной, Исторической, и др. литературы. |
Retrieving ExercisesThe exercises in this book are available electronically in a number of ways: by FTP, FTPMAIL, BITFTP, and UUCP. The cheapest, fastest, and easiest ways are listed first. If you read from the top down, the first one that works is probably the best. Use FTP if you are directly on the Internet. Use FTPMAIL if you are not on the Internet but can send and receive electronic mail to Internet sites. Use BITFTP if you send electronic mail via BITNET. Use UUCP if none of the above works. Note: The exercises were prepared using a UNIX system. If you are running UNIX, you can use them without modification. If you are running on another platform, you may need to modify these exercises slightly. For example, whereas under UNIX every line ends with a line-feed character (the carriage return is implicit), under DOS every line must end with explicit line-feed and carriage-return characters. Depending upon your own configuration and transfer method, you may need to append carriage returns. See the README file accompanying the exercises for additional information. FTPTo use FTP, you need a machine with direct access to the Internet. A sample session is shown below. % FTPMAILFTPMAIL is a mail server available to anyone who can send electronic mail to and receive it from Internet sites. This includes any company or service provider that allows email connections to the Internet. Here's how you do it. You send mail to ftpmail@online.oreilly.com. In the message body, give the FTP commands you want to run. The server will run anonymous FTP for you and mail the files back to you. To get a complete help file, send a message with no subject and the single word "help" in the body. The following is an example of a UNIX mail session that gets the examples. This command sends you a listing of the files in the selected directory and the requested example files. The listing is useful if there's a later version of the examples you're interested in. % A signature at the end of the message is acceptable as long as it appears after "quit." BITFTPBITFTP is a mail server for BITNET users. You send it electronic mail messages requesting files, and it sends you back the files by electronic mail. BITFTP currently serves only users who send it mail from nodes that are directly on BITNET, EARN, or NetNorth. BITFTP is a public service of Princeton University. Here's how it works. To use BITFTP, send mail containing your FTP commands to BITFTP@PUCC. For a complete help file, send HELP as the message body. The following is the message body you should send to BITFTP: FTP ftp.oreilly.com NETDATA USER anonymous PASS your Internet e-mail address (not your BITNET address) CD /published/oreilly/nutshell/perl/learning_perl2 DIR GET README GET examples.tar.gz QUIT Questions about BITFTP can be directed to MAINT@PUCC on BITNET. UUCPIf you or your company has an account with UUNET, you will have a system with a direct UUCP connection to UUNET. Find that system, and type (as one line): uucp uunet\!~/published/oreilly/nutshell/learning_perl2/examples.tar.gz The backslashes can be omitted if you use the Bourne shell (sh) instead of csh. The example file should appear some time later (up to a day or more) in the directory /usr/spool /uucppublic / yourname. |