For a long time, I thought computer books were a waste of money. In fact, the last computer book I bought was in the previous millenium. But I have been borrowing some programming books from the library lately, and I have to admit that a good reference text has the potential to beat Internet searching. One example is The Ruby Programming Language by Flanagan and Matsumoto (Matz). It seems to be a good reference text for looking up just about any obscure feature of Ruby I might need, and I believe it can be considered authoritative [for versions 1.8 and 1.9 of Ruby, anyway].
I haven't bought any computer books in a long time, but I think a basic rule of thumb to follow is: try really hard to search the Internet for info first, it has a lot to learn from for free; but failing that, you can try books at a library first before actually spending money on them.