Thanks for your suggestions, I appreciate it. This all made sense except one thing.. why when I change my pattern-match variables from arrays to scalars (
for example) do I need to have parentheses around them to get the output I want. Does it have something to do with scalar vs list data? Thanks again!