Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!bfmny0!tneff From: tneff@bfmny0.UU.NET (Tom Neff) Newsgroups: comp.lang.perl Subject: Re: Randal's one-liners Message-ID: <15223@bfmny0.UU.NET> Date: 2 Mar 90 21:49:57 GMT References: <15214@bfmny0.UU.NET> <15216@bfmny0.UU.NET> <7250@jpl-devvax.JPL.NASA.GOV> Reply-To: tneff@bfmny0.UU.NET (Tom Neff) Lines: 11 In article <7250@jpl-devvax.JPL.NASA.GOV> lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) writes: > for(split(//,'))*))91... Under 2.0.1.3, the split() function didn't work as the argument of a for() clause. I tried it every which way. Assigning to an intermediate was needed. I confirm this is fixed with 2.0.1.4 which is presumably where Larry tested his optimization of my signature hack... Also I notice that some packages (e.g. 'dumpvar.pl') which lacked a closing '1;' *will* now make the 'do' statement fail. Be warned!