in reply to Collecting a list of filenames together
but don't use it.my @result = ();
I would take all the smtp stuff out of the sub and replace it with
and then at the end of the script send the results (perhaps with some prettifying).push @result, $string;
update: changed the last sentence into something closer to English.my $email_body = join qq{\n******\n}, @results;
|
|---|