Fixed use of uninitialized value $time