Appendix C

What's On the CD?


CONTENTS

The CD-ROM included with this book contains the source code and reference materials that have been developed throughout the book. The goal of this approach is to allow you to cut and paste any applicable code examples so that you can reuse them quickly, as well as provide the scripts, applications, and sample Web pages in complete form.

Another (and perhaps more exciting) goal of the CD-ROM is to provide new, unique, and helpful software, shareware, and evaluation software for you to use. To that end, you'll find an array of software, including the add-ins, utilities, and other software packages that we've been able to arrange for you.

Following is an overview of what you can expect:

Table C.1  Directory Structure on the CD

SubdirectoryDescription
\EBOOKSHTML and Windows Help File versions of the electronic books included on the CD.
\CODEThe source code from the book. Each chapter that contains sample files, source code, and so on is contained in a subdirectory named for the chapter that it references.
\SOFTWAREThe software provided for your use and evaluation.

NOTE
The products on the CD are demos and shareware. You might have some difficulty running these programs on your machine; if you do, feel free to contact the vendor. (Vendors would rather have you evaluate their products than ignore them.)

Using the Electronic Book

Special Edition Using Perl for Web Programming is available as an HTML document that you can read in any World Wide Web browser installed on your machine (such as Internet Explorer or Netscape Navigator). If you don't have a Web browser, you'll find Microsoft Internet Explorer on the CD-ROM. You also can read the book on-screen as a Windows Help File.

Reading the Electronic Book as an HTML Document

To read the electronic book, start your Web browser and open the document file TOC.htmL, located in the \HTMLVER subdirectory of the CD. Alternatively, you can browse the CD directory by using File Manager and double-clicking TOC.htmL.

After you open the TOC.htmL page, you can access the book's contents by clicking a highlighted chapter number or topic name. The electronic book works like any other Web page; when you click a hot link, a new page opens or the browser takes you to the new location in the document.

As you read the electronic book, you will notice other highlighted words or phrases. Clicking one of these cross-references also takes you to a new location in the electronic book. You can always use your browser's forward or backward button to return to your original location.

Installing the Internet Explorer

If you don't have a Web browser installed on your machine, you can use Microsoft Internet Explorer 2.0, which is included on the CD-ROM.

The Microsoft Internet Explorer can be installed from the self-extracting file in the \EXPLORER directory. Double-click MSIE20.EXE, or use the Control Panel's Add/Remove Programs option and follow the instructions in the installation routine.

NOTE
You must have Windows 95 or Windows NT installed on your machine to use this version of Internet Explorer. You can download other versions of this software from Microsoft's Web site at http://www.microsoft.com/ie.

Reading the Electronic Book as a Windows Help File Document

To read the electronic book as a Windows Help File document, open the file named PERLWP.HLP in the \EBOOKS subdirectory of the CD-ROM. Clicking the forward or backward arrow moves you forward or backward through the text of the book, chapter by chapter. To view the book's table of contents, select the Contents tab; then click the number of the chapter that you want to view.

Finding Sample Code

As you read this book, you will notice sample applications and program segments set apart from the main text by a code listing header, like this one:


Listing 10.1  (10_01.htm) Creating the new snarfle page...

This listing indicates that this particular code snippet (or example) is included on the CD. To find the code, browse to the \CODE subdirectory on the CD, and select the file name that matches the one referenced in the listing header from the chapter indicated. For this example, you would look in the Chapter 10 subdirectory and open the 10_01.htm file.