in reply to What does my ($data) = @_ mean?
Given that you know what it does, it means:
Instantiate a scalar called $data, put it in a list of one element, then assign to that one-element list the contents of list @_. Because the left-hand side contains only one element, only one element (the first) is copied from @_.
|
|---|