Copyrighted Material
Total Page:16
File Type:pdf, Size:1020Kb
4213indx.qxd 4/19/03 8:50 PM Page 801 Index Note to the reader: Throughout this index boldfaced page numbers indicate primary discussions of a topic. Italicized page numbers indicate illustrations. " (quotation marks) Symbols in Perl, 235, 236 ! (exclamation point), in Unix, 234 for strings, 293–297 &nested_quotewords() function, 781 "ewords() function, 781 # (pound sign), for Perl comments, 234, 267 A $ (dollar sign), for scalars, 237 A (Anchor) object (JavaScript), 508–509 $! (system error variable), 305–306, ; (semicolon), for JavaScript line ends, 28 306, 384 abs function (Perl), 633 $DEBUG variable, 306 abs() method, of Math object (JavaScript), % (percent sign), in URLs, 350 50, 121, 575 . (concatenation operator) in Perl, 409 absolute pathname, 255 . (current directory), 418 abs_path() function (Perl), 682 .. (parent directory), 418 abstract, 29 @ character accept function (Perl), 633 escape character (\) for literal, 296 acceptCharset property, of form object (JavaScript), 142 for Perl lists, 239 acos() method, of Math object (JavaScript), @ENV array (Perl), 336 50, 121, 576 @INC array, 295 ACRONYM object (JavaScript), 509 \ (backslash; escape), for special characters, ACTION attribute, of HTML form, 346 32–33, 235 action property, of form object (JavaScript), _DATA_ token, 765–766 142, 161, 551 + (concatenation operator), 31 Active Server Pages (ASP), 20–21 < > (angle brackets) ActiveState debugger, 315, 315–317 error in Perl from missing, 293 ActiveX, 16–17 for file handles,COPYRIGHTED 328 MATERIAL ActiveXObject object (JavaScript), 509–510 for HTML tags, 5 add-in modules, 9 << (heredoc operator), 284 add() method, in IO::Seekable module == (equal to) Boolean operator, in Perl (Perl), 1 conditional statement, 297 add_generic() method, 472–473, 481 = (match) operator, 357, 358 ~ addhistory command, in Term::ReadLine >> (append) symbol in Perl, 329 module (Perl), 777 > operator in Perl, 329 ADDRESS object (JavaScript), 510 4213indx.qxd 4/19/03 8:50 PM Page 802 802 alarm function (Perl)—Attribs command, in Term::ReadLine module (Perl) alarm function (Perl), 633 applications. See also CGI scripts; programs alert box in JavaScript, 53 vs. applets, 16 alert box, in JavaScript, 53 distributed, 24 alert box in JavaScript apply() method, of Function object, 118 cookies to customize, 87, 87 appName property, of navigator object onclick event to display, 77–78 (JavaScript), 578 alert() method, of window object appVersion property, of navigator object (JavaScript), 628 (JavaScript), 578 alinkcolor property, of document object Area object (JavaScript), 103, 512–513 (JavaScript), 542 arguments, for Perl functions, 234 alnum Posix class, 369 arguments property, of Function object alpha Posix class, 369 (JavaScript), 118, 553 AmphetaDesk, 505 arguments.length property, of Function object (JavaScript), 553 anchor() method, of String object (JavaScript), 46, 605 arithmetic operators, in JavaScript, 37 anchor object, 102 Array object (JavaScript), 34, 111–113, 513–515 anchors array, 102 arrays. See also lists, in Perl anchors property, of document object (JavaScript), 542 creating from string, 48 Andreessen, Marc, 2 in JavaScript, 33–36 angle brackets (< >) complex, 35–36 for file handles, 328 methods, 36 for HTML tags, 5 simple, 33–35 Apache web server, 3 Tie::Array module (Perl) for, 785–788 hit counter analysis, 416 The Art of computer Programming, volume 3 log files, 400, 405 (Knuth), 783 appCodeName property, of navigator object ascii Posix class, 369 (JavaScript), 578 asin() method, of Math object (JavaScript), append (>>) symbol in Perl, 329, 330 50, 121, 576 Applet object (JavaScript), 102, 510–511 askNextQuestion() function in quiz <applet> tag, 16 program, 193, 194 applets, 27 assignment operators, in JavaScript, 38 vs. applications, 16 associative arrays, 284 applets array, 103 atan() method, of Math object (JavaScript), applets property, of document object 51, 121, 576 (JavaScript), 542 atan2 function (Perl), 633 application framework, for business atan2() method, of Math object software, 24 (JavaScript), 576 application/x-www-form-urlencoded MIME Attribs command, in Term::ReadLine type, 161 module (Perl), 778 4213indx.qxd 4/19/03 8:50 PM Page 803 Attribute object (JavaScript)—Boolean object (JavaScript) 803 Attribute object (JavaScript), 515 BIG object (JavaScript), 519 attributes for HTML tags, 6 binary executables, 251, 252 authoring tools, 2 binary numbering, 351–352 AUTH_TYPE environment variable, 204 binary search for bugs, 307 Autoloader module (Perl), 666–669 bind function (Perl), 634 overriding AUTOLOAD subroutine, bindmode function (Perl), 634 667–668 bits() method, in IO::Seekable module vs. SelfLoader, 766 (Perl), 747 availHeight property, of screen object bitwise logical operators, 38 (JavaScript), 599 Blat, 439–444, 444 availWidth property, of screen object installing, 439–440 (JavaScript), 599 options, 440–441 awk, 226 bless function (Perl), 634 blink() method, of String object B (JavaScript), 47, 605 b (breakpoint) command (Perl blob (binary large object), 461 debugger), 312 BLOCKQUOTE object (JavaScript), B object (JavaScript), 515–516 519–520 back() method, of History object blocks in Perl, 266–267 (JavaScript), 557 blur() method backslash (\; escape), for special characters, of Button object (JavaScript), 523 32–33, 235 of Checkbox object (JavaScript), 527 backspace, 235 of FileUpload object (JavaScript), 550 barewords, 292, 302–303 of form elements, 146 base 8 number, 32 of Radio object (JavaScript), 591 BASE object (JavaScript), 516 of Reset object (JavaScript), 594 BASEFONT object (JavaScript), 516–517 of Select object (JavaScript), 601 basename() routine, 718 of Submit object (JavaScript), 612 BDO object (JavaScript), 517–518 of Text object (JavaScript), 616 beginning of array, testing in Perl, 300 of Textarea object (JavaScript), 616 beginning tag, 5 of window object (JavaScript), 628 Benchmark module (Perl), 669–672 Body method, of Mail::Sender, 448 Berkeley DB database file, opening, BODY object (JavaScript), 520–521 694–696 <body> tag, 6 Berners-Lee, Tim, 7 bold() method, of String object bgColor property, of document object (JavaScript), 47, 48, 605 (JavaScript), 100, 542 bookmarks, POST vs. GET methods for, 347 BGSOUND object (JavaScript), 518–519 boolean, 29 big() method, of String object (JavaScript), 46, 605 Boolean object (JavaScript), 114, 521–522 4213indx.qxd 4/19/03 8:50 PM Page 804 804 Boolean variables—catdir method Boolean variables, 31 border property, of Image object C (JavaScript), 561 c (continue) command (Perl debugger), 312 boxes for user communication in C programming language, 226 JavaScript, 53–54 call function (Perl), 634 alert box, 53, 53 call() method, of Function object, 118 confirm box, 53, 54 caller property, of Function object prompt box, 54, 54 (JavaScript), 118, 553 BR object (JavaScript), 522 calling function, 66 brackets (< >) Cancel method, of Mail::Sender, 448 error in Perl from missing, 293 canonpath method for file handles, 328 in File::Spec::Mac module (Perl), 727 for HTML tags, 5 in File::Spec::Unix module (Perl), 729 break statement (JavaScript), 29, 46 in File::Spec::Win32 module (Perl), 732 in switch structure, 39 can_read() method, in IO::Seekable module breakpoint on load command, 313 (Perl), 747 breakpoints, 307–308 “Can’t find string terminator” error deleting, 312 message, 291 setting, 312–313 “Can’t find terminator before EOF” error browser objects (JavaScript), 102–110 message, 294 hierarchy, 104–105 “Can’t Location function in @INC” error message, 295 identifiers, 105–110 can_write() method, in IO::Seekable module browsers, 2 (Perl), 747 ActiveX support by, 17 CAPTION object (JavaScript), 524–525 Cascading Style Sheets support in, 9 Carp module (Perl), 672–673 connection with server, 13 carpout() function (Perl), 674–675 providing for older, 69–70 carriage return, 235 support for cookies, 198–199 Cascading Style Sheets (CSS), 8–9 support for JavaScript, 2, 56 case, 29 bugs. debugging Perl See of data, translations for Unicode business software, application framework characters, 366 for, 24 case sensitivity Button object (JavaScript), 103, 522–523 in JavaScript, 29 of form object (JavaScript), 142, 144 in Perl, 237 properties, 145 in Unix, 259 BUTTON object (JavaScript), 523–524 catch, 29 bval option for Berkeley DB, 705–706 catdir method byte, 29 in File::Spec::Mac module (Perl), bytes pragma, 366, 371–372, 672 727–728 4213indx.qxd 4/19/03 8:50 PM Page 805 catfile method—classes, for COM objects 805 in File::Spec::Unix module (Perl), 729 to respond to HTML form, in File::Spec::VMS module (Perl), 731 432–435, 433 catfile method to return JavaScript, 219–221 in File::Spec::Mac module (Perl), 728 sending form data to, 160–161 in File::Spec::Unix module (Perl), 729 shell script example, 211–213, 214 in File::Spec::VMS module (Perl), 731 when to use, 202 in File::Spec::Win32 module (Perl), 732 CGI::Carp module (Perl), 673–675 cd command (Unix), 259 CGI::Cookie module (Perl), 676–679 cd command (Windows), 255 char, 29 CDATA, 68 char data type (SQL), 460 ceil() method, of Math object (JavaScript), char() function (Perl), 365 51, 121, 576 characters, specifying Unicode, 364–365 CENTER object (JavaScript), 525–526 charAt() method, of String object (JavaScript), CGI. See Common Gateway Interface (CGI) 47, 125, 605 cgi-bin directory, 272 charCodeAt() method, of String object (JavaScript), 605 CGI (Common Gateway Interface), 14–15 charnames pragma, 365 connection with Perl and HTTP, 225 chdir function (Perl), 634 output vs. standard output, 242 checkAnswers()