in reply to Regex's and Multidimensional Arrays

A for loop can operate on multiple arrays. This will update both arrays:
s/e/E/g for @days,@cols;