Re: [SPOILER] Perl Quiz of the Week #24 (Turing Machine simulation)
"Tor Fuglerud" <[email protected]> Sun, 19 Sep 2004 14:08:12 +0200
| Newsgroups | gmane.comp.lang.perl.qotw.discuss |
|---|---|
| Organization | UiO |
| Message-ID | <[email protected]> |
On Fri, 17 Sep 2004 10:48:46 -0400, Mark Jason Dominus <[email protected]> wrote: > > On Sep 17, 2004, at 10:36 AM, Tor Fuglerud wrote: >> while (<I>) { >> @p = split; >> $s = $p[0] if !$s; > > I gleefully point out that this fails the spec if the initial state is > named '0'. Good call, should have used !defined $s rofl. -- Tor Fuglerud