my $values="one,two,three,four and a half,five"; my @array=split(/,/, $values);