in reply to Re^2: DBI messes up sleepin thread DBI messes up sleep
I have to agree with bigmacbear that localtime is only called once per iteration. So the shown behaviour is as expected.