Perl Fast & Easy Web Development (Fast & Easy Web Development)

Perl Fast & Easy Web Development (Fast & Easy Web Development)

  • ただいまウェブストアではご注文を受け付けておりません。 ⇒古書を探す
  • 製本 Paperback:紙装版/ペーパーバック版
  • 言語 ENG,ENG
  • 商品コード 9781931841177
  • DDC分類 005.2762

Table of Contents

Introduction                                       xv
Getting Started 1 (20)
Where Can I Get Perl? 2 (1)
How Do I Install Perl? 3 (8)
Personal Web Server (PWS) 11 (10)
Taking Your First Steps with Perl 21 (12)
Before You Start 22 (1)
The Basics of Coding in Perl 22 (1)
Perl Syntax 22 (1)
Beginning Perl 23 (3)
Getting Things In and Out of Perl Programs 26 (3)
Getting Input for a Perl Program 29 (4)
Perl Data Types: Scalars 33 (18)
Scalar Variables 34 (8)
Strings 42 (1)
The $_ Variable 43 (5)
Escape Sequences For Formatting 48 (3)
Operators 51 (30)
The Assignment Operator 52 (2)
Arithmetic Operators 54 (3)
Other Operators 57 (5)
String Operators 62 (5)
Changing Case 67 (2)
Mixing Strings and Numbers 69 (2)
Comparison Operators 71 (6)
Logical Operators 77 (4)
Arrays 81 (14)
Declaring Arrays 82 (6)
Loading Arrays 88 (2)
Joining Arrays 90 (1)
Array Functions and Array Manipulation 91 (4)
Hashes 95 (10)
What are Hashes? 96 (1)
Hash Prefixes 96 (1)
Initializing a Hash 97 (1)
Creating a Hash 98 (1)
Loading and Searching Hashes 99 (1)
Removing Keys from a Hash 100(5)
Program Flow 105(14)
What Is Program Flow? 106(1)
Program Flow in Perl 107(1)
The If Statement 107(4)
Loops in Perl 111(8)
Perl Functions 119(26)
What is a Function? 120(1)
String Functions 120(12)
Array Functions 132(7)
Hash Functions 139(1)
Subroutines 140(5)
A Diversion: HTML 145(46)
Saving HTML Files and Testing HTML Pages 146(1)
The Structure of an HTML Document 147(1)
Writing an HTML Document 147(6)
More Text Formatting 153(2)
Adding Structure and Color 155(16)
Images 171(3)
Hyperlinks 174(1)
Linking within a Page 175(6)
Frames 181(1)
Frame Tags 182(9)
CGI Programming 191(30)
What Is CGI? 192(1)
A Simple Perl CGI Program 193(10)
HTML Forms 203(3)
Using the Form 206(15)
CGI: Making the Connection 221(14)
Receiving Data from Forms 222(13)
Using Files in Perl 235(24)
Opening Files in Perl 236(1)
Reading Data from a File 237(4)
Error Checking 241(2)
Writing to a File 243(4)
Deleting a File 247(2)
Using Directories with Perl 249(4)
Data Files 253(6)
Sending E-mail in Perl 259(18)
Using FTP 260(1)
What Is FTP? 261(3)
Sending E-mail Using SMTP in Perl 264(3)
Sending E-mail Using Blat.exe 267(5)
Sending Mail on a UNIX Server Using Sendmail 272(5)
Using Perl with Databases 277(32)
Level 1 head here 278(8)
Creating a Data Source Name (DSN) 286(3)
Reading Records from a Database Using ADO 289(5)
Adding Records to a Database with ADO 294(2)
Updating a Record in a Database Table Using 296(1)
ADO
Deleting a Record from a Database table 297(2)
with ADO
DBI 299(10)
Another Diversion: JavaScript 309(32)
A Few Notes about JavaScript 310(1)
Object Orientation 310(3)
Elements of JavaScript 313(1)
Where Do You Put Your JavaScript? 314(1)
More JavaScript Syntax 315(4)
JavaScript Variables 319(2)
Your First Form Validation JavaScript 321(20)
Function
The CGI.pm Module 341(20)
What's the Idea Behind the CGI.pm Module? 342(1)
Starting and Ending an HTML Page with CGI.pm 343(5)
Forms and CGI.pm 348(4)
Getting Data from Forms 352(2)
CGI.pm in Object-Oriented Mode 354(7)
Case Study: A Contact Database 361(34)
The Requirements 362(1)
The Home Page 363(2)
The listcontacts.pl Program 365(4)
addcontact.htm 369(7)
The insertrec.pl Program 376(3)
The editcontact.pl Program 379(8)
The updaterec.pl Program 387(3)
The Database 390(2)
A Final Word 392
Creating the Record-Addition Script 308(5)
Populating Your Table 313(82)
Appendix A More Perl Functions 395(8)
The length() Function 396(1)
The reverse() Function 396(1)
The index() Function 397(1)
The rindex() Function 397(1)
The substr() Function 398(1)
The tr/// Operator 399(1)
The chr() Function 400(1)
The ord() Function 400(1)
The join() Function 400(1)
The sort() Function 401(1)
The rand() Function 401(1)
The Here Document 402(1)
Appendix B Web Site Resources 403(4)
Official Sites for Obtaining Perl and More 404(1)
Learning More about Perl 404(1)
Free Perl Scripts 405(1)
Learning More about HTML and JavaScript 405(2)
Index 407