Path: utzoo!attcan!uunet!wuarchive!brutus.cs.uiuc.edu!jarthur!elroy.jpl.nasa.gov!jpl-devvax!lwall From: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Newsgroups: comp.lang.perl Subject: Re: "MOST COMMON NOVICE BUG" contest Message-ID: <7382@jpl-devvax.JPL.NASA.GOV> Date: 12 Mar 90 18:09:39 GMT References: <15230@bfmny0.UU.NET> <15232@bfmny0.UU.NET> <1118@etnibsd.UUCP> <1990Mar10.210646.16041@NCoast.ORG> <16731@orstcs.CS.ORST.EDU> Reply-To: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 9 In article <16731@orstcs.CS.ORST.EDU> pvo@sapphire.OCE.ORST.EDU (Paul O'Neill) writes: : I keep thinking split() has a default delimiter. (' ') It does if you leave the parens off. It's not precisely ' ' though. You get split(/\s+/), the difference being that ' ' will trim leading whitespace before splitting. Chief Hairsplitter, Larry