At 12.39 -0400 1999.06.03, Scott Prince wrote: >Thats it! I was about to give it up. With MacPerl... > >$x = "a\tb\t\t\t\n"; >chomp $x; >@x = split (/\t/, $x); >foreach $f (@x) { $count++; } >print "$count\n\n"; >exit; > >I lose the empties, on Unix (example below) they are retained. Why should >this be different for Unix? This example gives me "2" with both MacPerl and Unix perl. -- Chris Nandor mailto:pudge@pobox.com http://pudge.net/ %PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10 1FF77F13 8180B6B6']) ===== Want to unsubscribe from this list? ===== Send mail with body "unsubscribe" to macperl-request@macperl.org