On 7/19/05, Dave Adams <[EMAIL PROTECTED]> wrote:
> You are right.
> 
> I thought it was something more because I got an error:
> 
> Can't locate object method "hours" via package "Time::tm" (perhaps you forgot 
> to
>  load "Time::tm"?) at ./GetDate.pl line 4.
> 
> I was also using the Orielly Perl CookBook 2nd Edition and it
> specifies $hours and not $hour.
> 
> This is very frustrating for a beginner when the text book is wrong.
> 
> Thank you very much for the help.
> 
> DA
> 
> 

Yes, yes it is. but unfortunately, it's part of publishing.
Proofreading doesn't catch everything, and sometimes typesetting
introduces errors that weren't there before.

The first thing to do with any technical book--before you even open it
if you're not familiar with the material--is to go to the publisher's
website and grab the errata. In this case, you're looking for:

http://www.oreilly.com/catalog/perlckbk2/errata/

HTH

--jay
--------------------------------------------------
This email and attachment(s): [ x ] blogable; [  ] ask first; [  ]
private and confidential

daggerquill [at] gmail [dot] com
http://www.tuaw.com  http://www.dpguru.com  http://www.engatiki.org

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to