in reply to backwards if and while looping

Sorry, have I missed something? .. Can't you just write

if ( not $error ) { $a = $b }
and be done with it? Why do you have to increment $a up to $b until they're equal?

Alex / talexb / Toronto

"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds