while (($status = gv() eq 'initializing')) { print "stuck in loop with status [$status], waiting for 'initializing'\n"; }