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. :)