in reply to Re^2: Passing arrays and references to arrays
in thread Passing arrays and references to arrays
If I understand everything correctly then I don't think this is a fourth variant:
HTH.
compared to\@$choices
I think you need to look up array refs and pay particular attention to referencing and dereferencing. In both cases you have an array ref, however in the first you deref it only to then make it a reference again. The second doesn't do this unneccessary merry go round.$choices
HTH.
|
---|
In Section
Seekers of Perl Wisdom