L
Larry
I'm a novice trying to learn some perl, and am trying to understand some
syntax used in a formmail script to seperate a list of names.
The use is - (split /\s*,\s*/, $recipient)
I understand split, but can't see why the \s*,\s* is used as the marker. It
seems to evaluate to s,s so why the escapes and asterisks?
I'm sure it's quite simple, but I can't see it??
Thanks much,
Larry L
syntax used in a formmail script to seperate a list of names.
The use is - (split /\s*,\s*/, $recipient)
I understand split, but can't see why the \s*,\s* is used as the marker. It
seems to evaluate to s,s so why the escapes and asterisks?
I'm sure it's quite simple, but I can't see it??
Thanks much,
Larry L