Mr. Shawn H. Corey schreef:
> Rance Hall:
>> @domain = split(' ',$domainlist);
>
> @domain = split /\s+/, $domainlist;
>
> It's not splitting on whitespace since you are telling it to split on
> a single space character (ASCII 0x20).
perldoc -f split:
"As a special case, specifying a PATTERN of space (' ') will
split on white space just as "split" with no arguments does."
--
Affijn, Ruud
"Gewoon is een tijger."
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>