and evaluates left to right. I think the original author meant to short-circuit, but somehow reversed the comparisons.# while ( ($key ne $self->{KEYS}->[ $i ]) and # ($i < $self->{COUNT}) ) { while ( ($i < $self->{COUNT}) and ($key ne $self->{KEYS}->[ $i ]) ) {
In reply to Re: Problem with Tie::RegexpHash
by jsprat
in thread Problem with Tie::RegexpHash
by sch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |