RE: shortest test for truth false assignment

2002-05-22 Thread Patrick Gaskill
What about... $a--do{do_something()}; If $a isn't 1, you could do this, too: $a($a=0)||do{do_something()}; Right? I'm surprised noone's mentioned it, unless I'm missing something... Patrick

RE: Golf and the Perl Review

2002-02-08 Thread Patrick Gaskill
It definitely sounds to me like we're supposed to be writing a function. That way we don't worry about where the inputs and outputs are necessarily going. In that case, I'm at 73, but considering my beginner status, I'm sure that's fairly awful. As an aside, I'd say that in general I think of

Golf challenge: decode CETI message

2002-01-09 Thread Patrick Gaskill
There's an article about CETI's next message into space http://slashdot.org/article.pl?sid=02/01/08/231247mode=nested and CETI is providing the message in ASCII 1's and 0's (with example noise added) to be decoded for our own amusement. Of course, I wrote a Perl script to do this for me. Of

RE: Possible fwp golf game

2002-01-08 Thread Patrick Gaskill
I, for one, joined FWP because of Santa's golf tournament, and because I can't get enough of a golf fix anywhere else. So the more, the sooner, the better. How else am I supposed to avoid work if I don't have a golf to work on? I can only get better from practice... Patrick -Original

RE: test a password string for correctness

2001-12-13 Thread Patrick Gaskill
Oh, maybe I should've finished sifting through the rest of the posts first... and I guess she never said that the characters would be in a row... *sigh* -- Patrick -Original Message- From: Patrick Gaskill [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 13, 2001 10:09 AM