Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!jpl-devvax!lwall From: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Newsgroups: comp.lang.perl Subject: Re: Why is this so slow? Message-ID: <10679@jpl-devvax.JPL.NASA.GOV> Date: 10 Dec 90 05:28:50 GMT References: <1990Dec7.212127.8161@uvaarpa.Virginia.EDU> <1990Dec10.022814.5349@cunixf.cc.columbia.edu> Reply-To: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 7 In article <1990Dec10.022814.5349@cunixf.cc.columbia.edu> ben@cunixf.cc.columbia.edu (Ben Fried) writes: : This made me wish that perl had some operator for determining the count : of matches of a pattern; is that something that sounds generally useful? Look up what the return value is for either tr/// or s///g. Guess what? Larry