in reply to Re: New golf game (for the extremely bored)
in thread New golf game (for the extremely bored)

Nope. Since the for() loop is only one line, it'll work without the semicolon. As a matter of fact, I could have easily have done...
perl -e "print ['H','T']->[rand(2)] for(1..200)"
Theodore Charles III
Network Administrator
Los Angeles Senior High
4650 W. Olympic Blvd.
Los Angeles, CA 90019
323-937-3210 ext. 224
email->secon_kun@hotmail.com

Replies are listed 'Best First'.
Re: Re: Re: New golf game (for the extremely bored)
by vek (Prior) on Feb 08, 2002 at 17:28 UTC
    Ha ha, Necos++ you're right of course, I mistyped it when I tried to run it. Coupled with the fact that I've just spent the last 3 hours debugging a co-workers program that had missing semi-colons (I've got missing semi-colons on the brain!!)