in reply to Re^2: Processing while reading in input
in thread Processing while reading in input

Let me presume to answer for tybalt89.

my ($cluster, $member) = split;

This depends on default behavior of split, and is equivalent to
    my ($cluster, $member) = split ' ', $_;
The  ' ' split pattern is a special case explained in split docs.

print $cluster eq $member ? "\n" x ($. > 1) : ', ', $member;

This is a bit more tricksy. From the inside out:

And that's all there is to it (I think).

Update: Minor wording changes.


Give a man a fish:  <%-{-{-{-<