Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!decwrl!ucbvax!ucsfcgl!pett From: pett@cgl.ucsf.edu (Eric Pettersen) Newsgroups: comp.lang.perl Subject: length operator Keywords: quibble Message-ID: <13103@cgl.ucsf.EDU> Date: 15 Feb 90 20:06:35 GMT Sender: daemon@cgl.ucsf.edu Distribution: comp Lines: 10 IMHO, the "length" operator should not allow the "length EXPR" syntax. I often want to handle "length-2" which, because the above syntax is legal, forces me to write "length($_) - 2" instead. Not to mention causing me some lost time while trying to figure out why "length-2" doesn't work. This has probably caught other people as well. Does "length EXPR" have any supporters? Eric Pettersen pett@cgl.ucsf.edu ...!ucbvax!ucsfcgl!pett