in reply to Re^3: "when" and replacements
in thread "when" and replacements

using $_ =~ at the beginning of the stuff in parens should be enough to indicate "I don't want a smart match"; evaluate it the same as a mundane if statement, in the same way as the relational operators.

After all, I might want the single-branch feature of when and have other cases that do use more usual match criteria.