Path: utzoo!attcan!uunet!decwrl!elroy.jpl.nasa.gov!jpl-devvax!lwall From: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Newsgroups: comp.lang.perl Subject: Re: Bug in pl28 on regexp test? Message-ID: <9540@jpl-devvax.JPL.NASA.GOV> Date: 17 Sep 90 22:55:42 GMT References: <14496@cbmvax.commodore.com> Reply-To: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Distribution: comp.lang.perl Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 16 In article <14496@cbmvax.commodore.com> schmid@spica.cbmvax (Bob Schmid) writes: : I may have uncovered a bug in perl pl28 that did not exist in perl : pl18 for the same test case, so I have gone back to pl18. : : The problem seems to be caused by perl thinking : : ($Flds[0] =~ /^[0-9]+$/) : : is 1, even though $Flds[0] does not contain any numeric characters (is : null, actually). This is already fixed in my copy, so the next patch will have the fix. Don't expect it for a while though--between my real work and The Book (and sick kids), I've been totally swamped. Larry