in reply to Re^2: Building a dynamic array or some other method?
in thread Building a dynamic array or some other method?
The ->@* is a post-dereference, it's an alternative way of writing
my @headers = @{ $csv->getline( *DATA ) };
The getline method returns an array reference, by dereferencing it we get an array which we (shallow) copy into @headers.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Building a dynamic array or some other method?
by CAdood (Acolyte) on Apr 30, 2024 at 15:01 UTC |