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 @_.
In reply to Re: What does my ($data) = @_ mean?
by pbeckingham
in thread What does my ($data) = @_ mean?
by chiburashka
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |