|Syntactic Confectionery Delight|
Actually, localtime returns a list not an array. Either the author got that wrong or he didn't differentiate between the two well enough for you to pick understand that there is a difference.
Also, the year is not returned as four digits. It is the number of years since 1900 (currently 101).
The CGI information sounds a bit flakey to me. Does he mention taint mode at all?
I don't understand why he references CPAN thru a third-party URL that is liable to change or disappear. Why not use one of the Perl community's own URLs of http://www.cpan.org or http://search.cpan.org.
On the basis of this test the book looks like something that I couldn't recommend, but I should probably get hold of a copy and send a review to the publishers.
Thanks for bringing it to my attention.--
"The first rule of Perl club is you do not talk about