my $files_to_send = map {"$stage/$_.pdf"} $self->_getGood();
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 reply to Re: map return to array reference
by johngg
in thread map return to array reference
by silent11
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |