Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!usenet.ins.cwru.edu!cwjcc!ncoast!allbery From: allbery@NCoast.ORG (Brandon S. Allbery) Newsgroups: comp.lang.perl Subject: Re: "MOST COMMON NOVICE BUG" contest Message-ID: <1990Mar10.210646.16041@NCoast.ORG> Date: 10 Mar 90 21:06:46 GMT References: <15230@bfmny0.UU.NET> <15232@bfmny0.UU.NET> <1118@etnibsd.UUCP> Reply-To: allbery@ncoast.ORG (Brandon S. Allbery) Followup-To: comp.lang.perl Organization: North Coast Public Access UN*X, Cleveland, OH Lines: 19 As quoted from <1118@etnibsd.UUCP> by vsh@etnibsd.UUCP (Steve Harris): +--------------- | So, what are the "TEN MOST COMMON NOVICE BUGS" in perl? I nominate: | | Placing a comma after a filehandle in a print statement. | | Anybody care to add more? Novices, SPEAK UP!! | Experts, try to remember when you weren't! +--------------- 1) forgetting that "if (EXPR) BLOCK" *requires* the {} 2) not saving $0, ..., $9 across regexps, or $0 at the start of a program Just another Perl diver, ;-) ++Brandon -- Brandon S. Allbery (human), allbery@NCoast.ORG (Inet), BALLBERY (MCI Mail) ALLBERY (Delphi), uunet!cwjcc.cwru.edu!ncoast!allbery (UUCP), B.ALLBERY (GEnie) BrandonA (A-Online) ("...and a partridge in a pear tree!" ;-)