On Wed, May 22, 2002 at 10:55:52PM +0100, Simon Cozens wrote:
> Ronald J Kimball:
> > > > if( $a%2 .. $a-- ) {
> > Here's what I understand the goal to be:
> > If $a is true, set $a to false and execute some code
>
> But the code above doesn't do that for all true values.Sorry, I left out a condition. You can choose what values to use for true and false. (As implied in the original message, "It doesn't have to be numeric (i.e., bit strings or any true/false values will work).") Ronald
