Re: Fisher-Yates shuffle

2002-04-15 Thread abigail
On Fri, Apr 12, 2002 at 02:14:36PM -0700, Erik Steven Harrison wrote: -- On Fri, 12 Apr 2002 18:27:11 abigail wrote: On Fri, Apr 12, 2002 at 04:42:07PM +0100, Piers Cawley wrote: [EMAIL PROTECTED] writes: Why isn't if %foo {key} {print Hello 1} equivalent with

Re: Fisher-Yates shuffle

2002-04-13 Thread Ashley Winters
- Original Message - From: [EMAIL PROTECTED] On Fri, Apr 12, 2002 at 04:42:07PM +0100, Piers Cawley wrote: [EMAIL PROTECTED] writes: Why isn't if %foo {key} {print Hello 1} equivalent with the perl5 syntax: if (%foo) {key} {print Hello 1} Which

Re: Fisher-Yates shuffle

2002-04-13 Thread Andrew Pimlott
On Sat, Apr 13, 2002 at 12:51:06AM -0700, Ashley Winters wrote: Perl today: A semicolon is required after every statement, except before a closing curly or end of file. Perl 6: A semicolon is also required after every block, except when the closing curly is on a line of its own, or it

Re: Fisher-Yates shuffle

2002-04-12 Thread Piers Cawley
[EMAIL PROTECTED] writes: On Fri, Apr 12, 2002 at 04:00:37PM +0100, Piers Cawley wrote: X-posting to perl6-language [EMAIL PROTECTED] writes: As for cleanness, this is my interpretation of how perl6 is going to work: %foo = (); if %foo {key} {print Hello 1}

Re: Fisher-Yates shuffle

2002-04-12 Thread abigail
On Fri, Apr 12, 2002 at 04:00:37PM +0100, Piers Cawley wrote: X-posting to perl6-language [EMAIL PROTECTED] writes: As for cleanness, this is my interpretation of how perl6 is going to work: %foo = (); if %foo {key} {print Hello 1} %foo = (); if

Re: Fisher-Yates shuffle

2002-04-12 Thread abigail
On Fri, Apr 12, 2002 at 04:42:07PM +0100, Piers Cawley wrote: [EMAIL PROTECTED] writes: Why isn't if %foo {key} {print Hello 1} equivalent with the perl5 syntax: if (%foo) {key} {print Hello 1} Which keyword is it expecting? Keyword /els(e|if)/, or end of line, or

Re: Fisher-Yates shuffle

2002-04-12 Thread Luke Palmer
On Fri, Apr 12, 2002 at 04:42:07PM +0100, Piers Cawley wrote: [EMAIL PROTECTED] writes: Why isn't if %foo {key} {print Hello 1} equivalent with the perl5 syntax: if (%foo) {key} {print Hello 1} Which keyword is it expecting? Keyword /els(e|if)/, or end of line, or

Re: Fisher-Yates shuffle

2002-04-12 Thread Erik Steven Harrison
-- On Fri, 12 Apr 2002 18:27:11 abigail wrote: On Fri, Apr 12, 2002 at 04:42:07PM +0100, Piers Cawley wrote: [EMAIL PROTECTED] writes: Why isn't if %foo {key} {print Hello 1} equivalent with the perl5 syntax: if (%foo) {key} {print Hello 1} Which keyword is it

Re: Fisher-Yates shuffle

2002-04-12 Thread Piers Cawley
[EMAIL PROTECTED] writes: On Fri, Apr 12, 2002 at 04:42:07PM +0100, Piers Cawley wrote: [EMAIL PROTECTED] writes: Why isn't if %foo {key} {print Hello 1} equivalent with the perl5 syntax: if (%foo) {key} {print Hello 1} Which keyword is it expecting? Keyword