|
|
| Do you know where your variables are? | |
| PerlMonks |
Re: map return to array referenceby johngg (Abbot) |
| on Jan 24, 2007 at 17:06 UTC ( #596289=note: print w/ replies, xml ) | Need Help?? |
|
The string "6" is a good clue, since your Dumper output shows 6 files. $self->_getGood() returns an array so there's no need to wrap it in @{...}. Try
Cheers, JohnGG Update: Doh! My eyes saw $files_to_send, my brain translated to @files_to_send. You could change $self->_getGood() to return the array reference instead, return $self->{_good};
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||