From: Randy Kramer Date: 2007-10-17T07:39:48+09:00 Subject: Compound conditionals in case when statements? Syntax? I need (or want ;-) to do something like the following: when ((/^---\+\+ (.*)/) and (new_record == true)) I've tried a lot of variations, but either this just won't work, or I haven't managed to guess the proper syntax. (I've also tried googling and searching in the pickaxe(2).) Aside: Maybe the compound won't work because one is what the pickaxe calls a condition and the other is a comparison? But, I'm not sure which is which. If this can't work, I'll try (I've been trying) a nested if statement, but I'll ask about that in my next post. ;-) Randy Kramer