in reply to Splitting a dynamic comma-separated list.

Hello,

I guess that list is a string. Therefore using split will suffice.

my ($temp) = "121, 122, 123, 124, 125, etc."; foreach my $uid (split /[[:space:]]*,[[:space:]]*/, $temp) { print $uid, "\n"; }

perldoc -f split is what you should be reading. I hope this helps.

--
Alper Ersoy