```

 foreach (@v) { s/^\s+//; s/\s+$// }
        push @{$data[$x]}, @v;
      }

```

I'm getting an error : global variable @data requires explicit package name – 
Not sure how to add "my" to it. 

But I also don't understand this line of code,

* It's pushing the v element into data[x]. But how does the @ work. I understand the {} is used for hash.