Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
June 3, 2009, 1:34 am
rate this thread
Re: Why doesen't dereferencing work in list context but referencing does?
You are using the special case for \(@foo), as described in perlref.
There is no corresponding special case for dereferencing.
There is symmetry for the normal (non-special) cases though:
push @refs_array, $_ for @scalar_array;
print $$_ for @refs_array;
email: perl -le "print scalar reverse qq/moc.noitatibaher0cmdat/"
- » FAQ 9.6 How do I download a file from the user's machine? How do I open a file on another...
- — Previous thread in » PERL Discussions