Index Home to Cookwood Press
Symbols  A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z 

s (substitute) operator 139
description 137
\s, in search patterns 148
\S, in search patterns 148
scalar function 88
scalars 73-82
adding 75
concatenation 79
decrementing 82
description 25
dividing 75
exponential power 77
incrementing 82
inputting data 69
modulus operator 78
multiplying 75
operating and assigning 81
precedence of operators 76
repeat operator 80
shortcuts 81
splitting into array 86, 141
storing result of operation 74
subtracting 75
Schwartz, Randal 258
scripts
activating with links 56
and URLs 41
borrowing 256
changing permissions 39
checking syntax 40
comments 35
common errors 212-213
configuring 221
copyright 222
creating 30
and uploading 31
customizing 222
debugging 211-216
definition 14
documenting 35
downloading 219
compression 220
executing 41
expanding 220
extensions 31
general syntax 33
getting 219
getting data 65-71
inputting data 43
with link 57
location on server 31
other folks’ 256
owner 232
parsing data 66
permissions 231-234
running 41
saving 254
shebang line 32
starting 32
syntax 40
uploading 31, 254
Macintosh 36
Windows 38
using other folks’ 217-222, 256
search patterns
* (asterisk) quantifier 154
\n 158
$n 158
+ (plus) quantifier 153
? (question mark) quantifier 152
anchoring 149
and security 236
character classes 146
character from group 146
characters not in group 147
constructing 142
finding 138
finding and replacing 139
how many 151
hyphens 146
limiting location 149
parentheses 151, 158
quantifiers
description 151
greediness 156
ranges 146
repeating elements 158
shorthands for character classes 148
single characters 144
strings 145
tips 143
using what was matched 158
wildcards 144
security 235-238
ability to run CGI scripts 19
and cookies 166, 169, 173, 176
and files 189
FAQs 235
HTTP_REFERER environment variable
63
monitoring
data sent to server 237
visitor input 236
tainted data 238
SELECT tag (HTML) 52
SELECTED attribute, in OPTION tag (HTML) 52
semicolons (;) 33
and cookies 168
and HTML 178
sending
cookies 168
output via e-mail 208
sendmail (Unix program) 207, 208
servers
and environment variables 59, 68
assumed in this book 21
changing permissions 39
location of scripts 31, 37
See also Unix servers
shebang line 32
and external subroutines 124
avoiding tainted data 238
in borrowed scripts 221
shift function 93
SimpleText 23, 254
creating scripts 30
simplifying paths to images/links 181
single quotation marks 28
and hashes 128
SIZE attribute (HTML)
for password boxes 48
for text boxes 47
in SELECT tag 52
slashes. See backslashes, forward slashes
slices
of array 89
of hash 129
Sol, Selena 256
sort function 98
for hashes 131
sorting arrays 98
spaces
and cookies 168
and ranges in search patterns 146
and search patterns 143
split function 86, 141
and cookies 174
description 137
splitting scalars into arrays 86, 141
sprintf function 186, 187, 188
SRC attribute, in INPUT tag (HTML) 55
Standard Input 61
See also STDIN
STDIN 227
See also Standard Input
Stein, Lincoln
CGI.pm module 179
World Wide Web Security FAQ 235
storing data in hidden fields 164
straight quotation marks 28
strings 23
and mathematical operators 75
comparing 103
connecting 79
formatting 186
repeating 80
vs. numbers 102, 103
StuffIt Expander 220
sub function 118
submit buttons 53
and HTTP_REFERER variable 63
creating 53
multiple 53
vs. active images 55
subparseform.lib 66, 223-230
subroutines 117-125
1; 124
and arguments 121
creating 223
creating simple 118
description 117
errors 214
external 124
and permissions 124
and shebang line 124
using 125
HTML headers and footers 182
legal names 118
location of 118
parsing forms 223-230
return values 122
setting 123
storing in separate file 124
using 121
using simple 119
with arguments (input) 120
with no arguments 119
substitute operator 139
description 137
substituting 139
subtraction 75
symbols
and search patterns 143
backslashes 178
syntax
checking 40
with tainted data 238
general 33

©Copyright 2000 by Elizabeth Castro. All rights reserved.
Please don't copy this page. Instead, link to it! Thanks.

This index is from my book, Perl and CGI for the World Wide Web: Visual QuickStart Guide, published by Peachpit Press.