Thanks! I "get it" now!
deb
At 21:37:06, on 07.10.03:
Cracks in my tinfoil beanie allowed Rob Dixon to seep these bits into my brain:,
> Deb wrote:
> > Rob, you were very helpful in showing me how the split and join
> > work, but
> > since I wasn't looking to change anything in $line except to
>
Deb wrote:
> Rob, you were very helpful in showing me how the split and join
> work, but
> since I wasn't looking to change anything in $line except to
> replace the character separating the email addrs, I used what you
> gave me, and rebuilt
> the $line. I think it's kinda ugly, though, and I'm w
Rob, you were very helpful in showing me how the split and join work, but
since I wasn't looking to change anything in $line except to replace the
character separating the email addrs, I used what you gave me, and rebuilt
the $line. I think it's kinda ugly, though, and I'm wondering if there
is a
No problem, Charles. :-) Thanks for responding, though!
deb
At 19:34:15, on 07.09.03:
Cracks in my tinfoil beanie allowed Charles K. Clarkson to seep these bits into my
brain:,
> [snipped code]
>
> Holy Cow!
>
> Deb, I apologize. After reading Rob's answer, I
> re-read your message a
Rob Dixon <[EMAIL PROTECTED]> wrote:
:
: Deb wrote:
: >
: > I'm having trouble coming up with a regular
: > expression for $lines in @lines of this form:
: >
: > units = [EMAIL PROTECTED] [EMAIL PROTECTED]:[EMAIL PROTECTED]
: > units = [EMAIL PROTECTED]
: > units = [EMAIL PROTECTED]
deb wrote:
> Rob,
>
>Errr, I think I see this. Seems more elegant than a strict
> search/replace. But, I don't understand this:
>
> next unless $line =~ s/^units\s+=\s+//;
>
> Substituting the left side with nothing? I must be reading this
> wrong.
>
> I do understand the split and join,
Deb wrote:
> Rob,
>
>Errr, I think I see this. Seems more elegant than a strict
> search/replace. But, I don't understand this:
>
> next unless $line =~ s/^units\s+=\s+//;
>
> Substituting the left side with nothing? I must be reading this
> wrong.
>
> I do understand the split and join, tho
Rob,
Errr, I think I see this. Seems more elegant than a strict
search/replace. But, I don't understand this:
next unless $line =~ s/^units\s+=\s+//;
Substituting the left side with nothing? I must be reading this
wrong.
I do understand the split and join, though - I've used spl
Deb wrote:
>
> Hi,
>
> I'm having trouble coming up with a regular expression for $lines in @lines
> of this form:
>
> units = [EMAIL PROTECTED] [EMAIL PROTECTED]:[EMAIL PROTECTED]
> units = [EMAIL PROTECTED]
> units = [EMAIL PROTECTED] [EMAIL PROTECTED]
Charles K. Clarkson wrote:
> deb <[EMAIL PROTECTED]> wrote:
> >
> > foreach my $line (@lines) {
>
> What's in @lines? Show us an example.
I thought Deb told us:
Deb wrote:
> in @lines of this form:
>
> units = [EMAIL PROTECTED] [EMAIL PROTECTED]:[EMAIL PROTECTED]
> units =
Deb wrote:
> Hi,
>
> I'm having trouble coming up with a regular expression for $lines
> in @lines of this form:
>
> units = [EMAIL PROTECTED] [EMAIL PROTECTED]:[EMAIL PROTECTED]
> units = [EMAIL PROTECTED]
> units = [EMAIL PROTECTED] [EMAIL PROTECTED]
>
>
On Wed, 9 Jul 2003 16:38:36 -0500, "Charles K. Clarkson" <[EMAIL PROTECTED]> wrote:
> deb <[EMAIL PROTECTED]> wrote:
> :
> : foreach my $line (@lines) {
>
> What's in @lines? Show us an example.
>
>
> : The part I'm having trouble with is re
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 tha
Hi,
I'm having trouble coming up with a regular expression for $lines in @lines
of this form:
units = [EMAIL PROTECTED] [EMAIL PROTECTED]:[EMAIL PROTECTED]
units = [EMAIL PROTECTED]
units = [EMAIL PROTECTED] [EMAIL PROTECTED]
' ^units = ' is expected, a
Hi,
I'm having trouble coming up with a regular expression for $lines in @lines
of this form:
units = [EMAIL PROTECTED] [EMAIL PROTECTED]:[EMAIL PROTECTED]
units = [EMAIL PROTECTED]
units = [EMAIL PROTECTED] [EMAIL PROTECTED]
' ^units = ' is expected,
15 matches
Mail list logo