in reply to Dereferencing of data
This will copy the referenced array into a new array. Usually when we speak of dereferencing, we mean using a reference directly (e.g. $arrayref->[2]). That aside, this will give you a "real" array from a reference, with the caveat that it will be making a copy, and might potentially be very expensive. I really recommend just using the reference directly.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Dereferencing of data
by ChrisR (Hermit) on Oct 09, 2003 at 17:38 UTC |