On Perl: Perl for Students and ProfessionalsThe book has an introductory chapter that gets the reader started quickly with programming in Perl. The initial part of the book discusses Perl expressions, statements, control flow, built-in data types such as arrays and hashes, and complex data structures built using references. On Perl has several chapters covering specialized topics. The chapter on socket-based network programming deals with forking and using fork to write complex interactive client-server programs. There is a chapter with in-depth discussion of CGI programming including error-handling and security issues that arise. The chapter on web-client programming deals with writing programs that access Web pages, fill up GET and POST forms, handle cookies and redirected Web pages. The book has several unique chapters not found in any other book on Perl in the market. The chapter on security discusses hashes such as MD5, message authentication codes (MACs), digital signature schemes, and encryption techniques such as DES, Rijndael, and RSA. Other chapters deal with writing recursive programs that work with files and directories; this chapter also discusses predefined modules that deal with portability in file names and paths across operating systems, recursive traversal of file hierarchies and tarring and untarring of filles. The chapter on functional programming illustrates that Perl functions are first-class, can be used to write closures and can be composed to form more complex functions. In particular, this can be useful for programming in artificial intelligence. |
Contents
| 3 | |
| 5 | |
| 8 | |
| 9 | |
| 10 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 17 | |
| 18 | |
| 20 | |
| 22 | |
| 26 | |
| 29 | |
| 30 | |
| 31 | |
| 38 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 47 | |
| 49 | |
| 50 | |
| 56 | |
XLVI | 61 |
XLVII | 62 |
XLVIII | 63 |
XLIX | 65 |
L | 66 |
LI | 70 |
LII | 71 |
| 74 | |
| 75 | |
LVI | 76 |
LVII | 77 |
LIX | 78 |
LX | 79 |
LXI | 80 |
LXIII | 81 |
LXIV | 82 |
LXV | 83 |
LXVII | 87 |
LXVIII | 89 |
LXIX | 90 |
LXX | 91 |
LXXI | 96 |
LXXII | 98 |
LXXIII | 100 |
LXXIV | 101 |
LXXV | 103 |
LXXVI | 104 |
LXXVII | 105 |
LXXVIII | 107 |
LXXIX | 108 |
LXXX | 110 |
LXXXI | 111 |
LXXXIII | 112 |
LXXXV | 114 |
LXXXVI | 115 |
LXXXVII | 116 |
LXXXVIII | 118 |
LXXXIX | 119 |
| 124 | |
| 125 | |
XCIII | 126 |
XCIV | 128 |
XCV | 129 |
XCVI | 130 |
XCVII | 133 |
XCVIII | 137 |
XCIX | 138 |
C | 139 |
CI | 140 |
CII | 141 |
CIII | 142 |
CIV | 150 |
CVI | 151 |
CVII | 153 |
CVIII | 155 |
CX | 157 |
CXI | 158 |
CXII | 164 |
CXIII | 167 |
CXIV | 168 |
CXVI | 169 |
CXVII | 170 |
CXVIII | 172 |
CXIX | 178 |
CXX | 182 |
CXXI | 183 |
CXXII | 188 |
CXXIII | 189 |
| 196 | |
CXXVII | 199 |
CXXVIII | 202 |
CXXIX | 207 |
CXXX | 209 |
CXXXI | 212 |
CXXXII | 215 |
CXXXIV | 217 |
CXXXV | 220 |
CXXXVI | 223 |
CXXXVII | 225 |
| 234 | |
CXL | 235 |
CXLI | 237 |
CXLII | 242 |
CXLIII | 243 |
CXLIV | 246 |
CLIII | 266 |
CLIV | 273 |
CLV | 276 |
CLVI | 286 |
| 290 | |
CLIX | 291 |
CLX | 292 |
CLXII | 296 |
CLXIV | 300 |
CLXV | 301 |
CLXVI | 304 |
CLXVII | 307 |
CLXVIII | 310 |
CLXIX | 312 |
CLXX | 313 |
CLXXI | 314 |
CLXXII | 342 |
| 348 | |
CLXXV | 349 |
CLXXVI | 351 |
CLXXVII | 354 |
CLXXVIII | 356 |
CLXXIX | 361 |
CLXXX | 362 |
CLXXXI | 367 |
CLXXXII | 368 |
CLXXXIII | 374 |
CLXXXIV | 378 |
CLXXXV | 383 |
CLXXXVI | 390 |
CLXXXVII | 396 |
CLXXXVIII | 401 |
CLXXXIX | 402 |
| 414 | |
CXCII | 415 |
CXCIII | 416 |
CXCIV | 419 |
CXCV | 422 |
CXCVI | 424 |
CXCVII | 428 |
CXCVIII | 431 |
CXCIX | 433 |
CC | 435 |
CCI | 444 |
CCII | 448 |
CCIII | 453 |
| 456 | |
CCV | 458 |
CCVII | 461 |
CCVIII | 463 |
CCIX | 465 |
CCX | 466 |
CCXI | 471 |
CCXII | 472 |
CCXIII | 474 |
CCXIV | 477 |
CCXV | 479 |
CCXVI | 482 |
CCXVII | 489 |
CCXVIII | 491 |
CCXIX | 502 |
| 506 | |
CCXXII | 509 |
CCXXIII | 510 |
CCXXIV | 511 |
CCXXV | 521 |
CCXXVII | 522 |
CCXXVIII | 523 |
CCXXIX | 525 |
CCXXX | 528 |
CCXXXI | 531 |
CCXXXII | 532 |
CCXXXIII | 538 |
| 542 | |
CCXXXVII | 543 |
CCXXXVIII | 544 |
CCXXXIX | 545 |
CCXL | 546 |
CCXLI | 547 |
CCXLII | 549 |
CCXLIII | 551 |
CCXLV | 552 |
CCXLVI | 553 |
CCXLVII | 554 |
CCXLVIII | 558 |
CCL | 560 |
CCLII | 561 |
CCLIII | 563 |
CCLIV | 565 |
CCLV | 571 |
CCLVII | 572 |
CCLVIII | 573 |
CCLIX | 574 |
CCLX | 576 |
CCLXI | 578 |
| 582 | |
CCLXIV | 583 |
CCLXVI | 585 |
CCLXVIII | 586 |
CCLXIX | 587 |
CCLXX | 588 |
CCLXXI | 603 |
CCLXXII | 604 |
CCLXXIV | 606 |
CCLXXV | 608 |
CCLXXVI | 610 |
CCLXXVIII | 612 |
CCLXXX | 614 |
CCLXXXI | 618 |
Common terms and phrases
algorithm anonymous function ARGV array assignment browser called celsius CGI program character chdir child process ciphertext client Colorado Springs command command line argument command-line argument computation contains contents counter create data structure database DBM file decryption defined delete digest digits discussed element encryption error example executed fahrenheit fetch field file name filehandle files and directories following program foreach fork friends grep hash header hometown input inside integer Internet iteration Jeff Kalita large number look loop machine method modifier MySQL operator output package parameter parent process parentheses passphrase pattern matching Perl program plaintext printf program is given query recursive regular expression request returns scalar scalar variable server socket specified stored string subprogram subroutine takes temperature text file Tommy Unix untaint usr/bin/perl file usr/bin/perl use strict waitpid words Write a program
Popular passages
Page 34 - AA .. AB AC AD AE AF AG AH .. . AI AJ AK .. - ■AL AM .. AN .. AO .. AP .. AQ .. AR AS AT AU .. AV .. AW...


