On Fri, July 10, 2009 8:55 am, Chas. Owens wrote: > The question is when do you want to know how many items a string can > be split into without actually splitting the line? Apparently it's something Schwern has wanted for some time, and since he has gone to the trouble of actually writing a patch, his voice has a good deal of weight behind it. > If you are going to > split the line, then you can ask the array how many elements it has. I > really don't see how scalar split (without splitting into @_ or some other > variable) is useful. Why not have it split into @F? @F is already used > with -a, and is documented in perlvar, so it shouldn't be in use by > anyone. IMO, experience has shown that kind of action at a distance in language design to be a Bad Thing(TM).Thread Previous | Thread Next