if ( defined $count ) { print "=" until ( $count ++ == 10 ); } else { print "Undefined count.\n"; }