http://qs321.pair.com?node_id=11118387


in reply to Re^2: Efficient way to verify scalar contents (updated x3)
in thread Efficient way to verify scalar contents

Correction, smart-matching is the one with the broken design. I think given/when's only problem is that they sometimes use smart-matching. But without smart-matching, there's not much point to given/when. For example, the OP would avoid given/when by making nothing but the following changes: