if ($debug) { use POSIX 'strftime'; print DEBUG "Starting window loop " . strftime( '%m-%d-%Y %H:%M:%S', localtime() ) . "\n"; } $app->MainLoop;