Ensure that only matched pairs of [] are part of the variable
Ignore array/hash refs when checking if a variable contains a dash
Merge pull request #278 from rodjek/array_ref_variables

Array ref variables