radio type, <input> tag, 107
RaiseError attribute, 24
random values, 145, 158
raw PNG data, report_graphic.pl, 336
$record variable, 40, 44
$record_idx variable, 51
redundant data
eliminating, 12–13, 28
example, 28
reference
array, 149
returning, 74
regular expression
character class, 202
checking for text data, 202–203
removing characters from file names, 433–434
replacement, 57
soap_server.cgi, 305
spaces, replacing with underscore, 428
taint mode, 112
reinputting required fields, 355
relational database
common problems, 3
connecting to, 19–20
disconnecting from, 23
permission, 21
tables, 4–5
values in tables, 5
repeating data, eliminating, 11–12
report_graphic.pl
axis labels, 333
bars3d object, 333
bitmap image object, 336
GD::Graph module, 332–333
IMG tag, 336
output, 337
program listing, 341–343
raw PNG data, 336
SELECT statement, 335
template_3.html, 336–337
warnings switch, 332
WHERE statement, 335
report_html.pl
DBI module, 327
disconnect method, 329
fetchrow_array method, 329
finish method, 329
HTML::Template module, 327
MIME::Lite module, 327
overview, 327
param method, 328
program listing, 339–341
selectrow_array method, 328
strict module, 327
template_2.html, 331
template_2.txt, 330–331
<tmpl_loop> tag, 331
<tmpl_var> tag, 331
totalsession parameter, 329
totalusers template variable, 328
Type parameter, 330
warnings switch, 327
report_text.pl
connect method, 324
DBI module, 324
die method, 324
disconnect method, 326
execute method, 325
fetchrow_array method, 325
finish method, 326
list mode, 324
MIME::Lite module, 324
program listing, 338–339
SELECT statement, 324–325
selectrow_array method, 324
strict module, 324
warnings switch, 324
required fields, reinputting, 355
required key, view_item.cgi, 201
reset type, <input> tag, 108
RESTRICT operation, SELECT statement, 6–7
result method
catalog.cgi (shopping cart program), 399
item_details.cgi (shopping cart program), 402
results method, catalog.cgi, 309
$return variable, 34
rollback, graphical phonebook application, 379
rollback method, 520
row attribute, grid method, 88
row, database table, 4, 28
rows attribute, <textarea> tag, 109
running, Quizzer.pm, 150