in reply to && and ne
Try using brackets to define the way you want that statement evaluated more precisely:
Update: well it seems that 'ne' has a higher precedence than '&&', so the above code should work. I tend to use brackets out of habit anyway, as they make the code easier to read.if (($myrowidarray[$myint] ne "del") && ($myrowidarray[$myint] ne "cal +"))
In Section
Seekers of Perl Wisdom