"Mark J. Reed" <[EMAIL PROTECTED]> writes: > OK, so let's look at the general problem. The structure is this: > > doSomething(); > while (someCondition()) > { > doSomethingElse(); > doSomething(); > } > > ...and you want to factor out the doSomething() call so that it only > has to be specified once.
I think Perl 5 will always allow: while ( doSomething(), someCondition() ) { doSomethingElse(); } I also think Perl 6 will always allow: while ( doSomething(); someCondition() ) { doSomethingElse(); } ... but don't quote me on that. Unless I'm right. ;-) Eirik -- Statistics means never having to say you're certain.