in reply to get my variable out of the hole!

$time2 = join(':', $hour, $minute);

Have you tried to just use

$time2 = "$hour:$minute";

-----
Of all the things I've lost in my life, its my mind I miss the most.