$n = 10; while( $n ){ print $n--; } continue{ sleep 1; }