in reply to Regex's and Multidimensional Arrays

You can also use tr operator

 tr/e/E/ for @days,@cols;

See Transliteration