in reply to Error with printing

The only error/warning that can come out of this line is the Uninitialized value in... warning if $newjobtime is empty, but still, without additional info we can help you too much.

Hotshot