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.
In reply to Re: Dereferencing of data
by revdiablo
in thread Dereferencing of data
by ChrisR
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |