in reply to Re: IF Statement Testing
in thread IF Statement Testing

You flipped the logic here.
if( $expire != 1 or $expire != 2 or $expire != 3...... )
should be
if( $expire != 1 and $expire != 2 and $expire != 3...... )
OTOH, this can also be solved by a hash lookup


holli, /regexed monk/