What don't don't you understand about scope that wasn't covered in my post? You don't need a book for that.

jmc has several useful links in the footer of his post.