in reply to join email lists with comma unless one list is empty

sub join_email_lists { return join ',', grep {$_} @_; }

Replies are listed 'Best First'.
Re^2: join email lists with comma unless one list is empty
by Gulliver (Monk) on Jun 11, 2011 at 16:59 UTC

    This method works even without the empty string at the beginning.