Re: String Literals, take 3

[email protected] ("Peter Haworth") Tue, 10 Dec 2002 18:04:36 +0000
Newsgroups perl.perl6.documentation
Message-ID <[email protected]>
On Thu, 05 Dec 2002 15:17:57 -0500, Joseph F. Ryan wrote:
> Again, C<< "STRING".split(' ') >> is different than
> C<< "STRING".split(/\s+/) >>.  The latter will add an empty element to
> the beginning of the string if there is leading whitespace, which is
> not the behaivor <<>> will have (if it acts like qw(), at any rate.)

I hate this special case. Why is there no way of specifying the removal of
leading empty elements with any other separator string?

-- 
	Peter Haworth	[email protected]
"[Microsoft is] a potential threat to our nation's economic well-being."
		-- Stanley Sporkin