Michael Hooten wrote:
>
> > my @a = map {split (/\s*=\s*/, $_, 2)} split(/\r?\n/, <DATA>);
>
> Should not \s+ match \r?\n? Apparently not.\s matches \n and \r and \f and \t and ' '. Apparently the OP only wanted to match \r and \n. :-) John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
