|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Comment on |
| ( #3333=superdoc: print w/ replies, xml ) | Need Help?? |
@{$self->_getGood()} If $self->_getGood returns an array (or, indeed, a list) then there's no need to dereference it again. I assume that '6' is the first item in the returned list.
But as you hint that you already know, you shouldn't be assigning that to a scalar, so you probably want:
-- "The first rule of Perl club is you do not talk about Perl club." -- Chip Salzenberg In reply to Re: map return to array reference
by davorg
|
|