Is there some way to exclude the [^\\] part from being matched, err or something, help.
my @restored_array = map { $_ =~ s/\\,/,/g; $_ } split(/[^\\],/,
Try split /^(?<!\\),/, ...
That's only about my third ever "look-around assertion" though, so somebody correct me if I'm wrong. (Don't have Perl handy for testing, sorry.)
James
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]