At 9:18 -0400 10/14/00, Ronald J Kimball wrote: >On Fri, Oct 13, 2000 at 07:29:02PM -0700, John W Baxter wrote: >> At 16:39 -0400 10/13/00, Ronald J Kimball wrote: >> >split(' ', $in) is not a simple split. It is actually the same as >> >split(/\s+/, $in), except that split(' ', $in) will discard a leading null >> >field. This is a special feature of split, perfect for just this case. >> >> Except in the presence of tabs in $in, in which case ' ' and \s+ are rather >> different split patterns. > >No, they're not. What are you referring to? > >The only difference between split(' ') and split(/\s+/) is that the former >discards a leading null field while the latter does not. Sorry...I carefully tested the wrong thing before posting. You are of course correct. --John -- John Baxter jwblist@olympus.net Port Ludlow, WA, USA # ===== Want to unsubscribe from this list? # ===== Send mail with body "unsubscribe" to macperl-request@macperl.org