in reply to Re: Processing while reading in input
in thread Processing while reading in input
Thank you, tybalt89. Your code worked in terms of generating the expected output.
Could you please explain in detail the following 2 lines from your code? Thank you!
my ($cluster, $member) = split; print $cluster eq $member ? "\n" x ($. > 1) : ', ', $member;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Processing while reading in input
by AnomalousMonk (Archbishop) on Sep 20, 2018 at 03:47 UTC |