>
>
> and then:
>
> p nelem which($a < 0.45 | $a > 0.41)
>
> I get 100!, which is not supposed to be the elements of $a that lie
> between 0.45 and 0.41.

And why is that a problem?   a < 0.45 OR a > 0.41 should always be  
true. You want AND which is & and

perldl> p nelem which($a < 0.45 & $a > 0.41)
5

on my machine (will of course vary since it is a random set of numbers)

        J.


_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to