At the time I was learning Perl/CGI, I found CGI Programming with Perl a great introduction, though now a little dated. Talks about efficiency and security in coding as well as the standard how-to.
—Brad "The important work of moving the world forward does not wait to be done by perfect men." George Eliot