deb <[EMAIL PROTECTED]> wrote:
:
: foreach my $line (@lines) {
What's in @lines? Show us an example.
: The part I'm having trouble with is replacing the
: space(s) between the addresses. I don't want to
: touch any other whitespace. Only the space or
: spaces which might separate more than one address.
It looks like you are talking about email
addresses. Since email addresses don't contain
white space, it would all be used as a separator.
s/\s+/,/g
Unless something unexpected is in each line.
In which case it would be awfully nice to see
what is in @lines.
HTH,
Charles K. Clarkson
--
Head Bottle Washer,
Clarkson Energy Homes, Inc.
Mobile Home Specialists
254 968-8328
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]