in reply to Surpised by foreach iterator limitation

Oddities in the for notation abound... The following is valid perl

foreach my $foo qw(bar baz) { print $foo,$/ }



<Elian> And I do take a kind of perverse pleasure in having an OO assembly language...

• Update:  
*Sigh* apparently people have missed the point here. The qw is special cased so you dont have to write

foreach my $foo (qw(bar baz)) { }

Foo on you people who thought I was being sarcastic!