in reply to Newbie can't figure out looping a while (if)
This is a glaring error, I would have thought:
@clients = $_; $client = shift @clients;
You can't just magically make an array out of a string, even if the string is a comma-separated list! You're making a one-item array, then shifting that one item off again into $client. So you might as well just have $client = $_;.
Nobody says perl looks like line-noise any more
kids today don't know what line-noise IS ...
In Section
Seekers of Perl Wisdom