Path: utzoo!attcan!uunet!snorkelwacker!mintaka!ogicse!schaefer From: schaefer@ogicse.ogi.edu (Barton E. Schaefer) Newsgroups: comp.lang.perl Subject: Re: "MOST COMMON NOVICE BUG" contest Message-ID: <7856@ogicse.ogi.edu> Date: 9 Mar 90 15:43:02 GMT References: <15230@bfmny0.UU.NET> <15232@bfmny0.UU.NET> <1118@etnibsd.UUCP> <1990Mar9.013018.14672@virtech.uucp> Organization: Oregon Graduate Institute (formerly OGC), Beaverton, OR Lines: 20 In article <1990Mar9.013018.14672@virtech.uucp> cpcahil@virtech.UUCP (Conor P. Cahill) writes: } In article <1118@etnibsd.UUCP> vsh@etnibsd.UUCP (Steve Harris) writes: } >So, what are the "TEN MOST COMMON NOVICE BUGS" in perl? } } Every dang time I write, or modify, a script I always have } at least 1 syntax error where I didn't put the $ before a variable in } an assignment. Too much shell programming, I guess. In a similar vein, foreach variable_missing_dollar (@List) { ... } I also find myself automatically typing one of "else if" or "elif" instead of "elsif". (Why in the world did you pick that particular contraction, Larry? Just because nobody else did?) -- Bart Schaefer "EARTH: Surrender IMMEDIATELY or we PICKLE DAN QUAYLE" "THPPFT!" schaefer@cse.ogi.edu (used to be cse.ogc.edu)