http://www.perlmonks.org?node_id=1061083


in reply to Re^2: perl substitute
in thread perl substitute

Sure, but that's no reason to alternate - just use hashes throughout. Inconsistency is the bug's friend. :)