| |
| Page 169, Under Time heading, 5th line. |
|
|
The figure given for the maximum time value is incorrect - it should be (2^32)-1, not (2^-32)-1
|
|
| Page 171, Under Comparing Time Values |
|
|
You should use gmtime not localtime to compare two time values. Otherwise the value returned is subjet to the local time zone calculation and will give skewed results
|
|
| Page 179 Table 7-1 |
|
|
The contents of the table are wrong, they should read:
| Acronym | Description | Function Combination |
| LIFO | Last in, First Out | push/shift |
| FIFO | First in, First Out | unshift/shift |
| FILO | First in, Last Out | unshift/pop |
| LILO | Last in, Last Out | push/pop |
|
|
| Page 442, Within the init_cgi function definition |
|
|
The line:
my $length = $ENV{QUERY_LENGTH};
should read:
my $length = $ENV{CONTENT_LENGTH};
You should also change the line:
if (defined($query))
to read:
if ($query =~ /\w+/)
Thanks to Bjrnar Salberg for the updates.
|
|
| Page 809, Second code example. |
|
|
The penultimate line should have $old, not $was, so it should read:
renamed($old,$_) unless $old eq $_;
|
|
|
|