Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Newbie can't figure out looping a while (if)by Cody Pendant (Prior) |
on Apr 18, 2008 at 01:15 UTC ( [id://681347]=note: print w/replies, xml ) | Need Help?? |
This is a glaring error, I would have thought:
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
In Section
Seekers of Perl Wisdom
|
|