-s notation, explanation of, 22
S-Support Levels Stage of DSLIP Module List codes for, 10 providing module information for, 133
Safefree() Perl C API interface to free(), example of, 202
save() method, role in BBS.pm CGI::Application module, 262
SAVETMPS C macro using with implicitly freed memory, 196 using with subroutines, 198-199
say_Hello subroutine, code for, 197-198
scalar value C data type. See SV* (scalar value) data type
scalars, tying, 57-59
search engines, using, 12-13
Sendmail Web site, 142
serialization, provision by Storable module, 169-170
setup() method, role in BBS.pm CGI::Application module, 261
shift built-in, using with AVs, 184-185
site_perl directories, usage of, 29
some_call() failure, troubleshooting, 80
source code importing into CVS, 151-152 using with CVS, 152-153
SourceForge bug-tracking facility of, 160-161 using with CVS repositories, 151 Web site, 141
SP variables, declaring with dSP C macro, 198
SPAGAIN C macro, using, 199
spaghetti code, explanation of, 21
special operations, symbols for, 49
square brackets ([]), using with references, 37
ssh (secure shell), using with CVS, 150-151
ST C macro, using with XSUBs, 223
start_mode() call, role in BBS.pm CGI::Application module, 262
state machines, CGI programs as, 257-258
state, maintaining with $LOG_LEVEL variable, 32
stdio functions versus PerlIO set, 203
Storable module, features of, 169-170
STORE() method using with tied hashes, 61 using with tied scalar classes, 58-59
strEQ(), using with XSUBs and named parameters, 223
string comparison operations, symbols for, 49
string conversion, overloading, 50-51
string operations, symbols for, 49
struct() subroutine, using, 88
subroutines calling from C, 197-201 calling from C without parameters or return values, 197-198 calling with one parameter and no return values, 198-199 calling with variable parameters and one return value, 199 calling with variable parameters and variable return values, 200-201 capitalizing in functional interfaces, 75 documenting in functional interfaces, 75-76 exporting, 33 functionality of, 21 implementing call-by-reference in, 37 naming in functional interfaces, 74-75 returning from, 201 signaling errors with, 201
SV* (scalar value) C data type comparison functions used with, 183 constructor versions for, 196 creation of, 177-178 and direct access of underlying value types, 180-181 features of, 177 full name and example in Perl, 176 getting lengths of, 181 getting values with, 179 inserting strings in middle of, 182 nonnumeric strings used with, 179 removing characters from beginning of strings in, 182 setting values with, 180 string functions used with, 181-183 testing for undef with, 183 truncating strings with, 181 type checking, 178-179 using & operator with, 183 using Boyer-Moore search algorithm with, 182
sv_set* functions, using, 180
sv_setref functions, using with RVs, 190-191
SvPVX(), advisory about using return value from, 180-181
SvREFCNT C macro, inspecting reference counts with, 194
SvROK C macro, distinguishing RVs from SVs with, 190
SvTYPE C macro, using with RVs, 191
symbol tables accessing, 26 using with packages, 25-29
SYNOPSIS section of DBI, 169 of modules, 67
system wrappers, using with Perl C API, 202-203 |