It was inevitable, but: Georges Martin, <georges.martin@deboeck.be> wrote: >On 15/07/99 at 7:16, bart.lateur@skynet.be (Bart Lateur) wrote: > >> > { >> > my (@qualscores) >> > >> > # Get and validate the input options >> > >> > GetOptions ( >> > 'h' => \$Help, >> > 'help' => \$Help, >> > 'v' => \$Verbose, >> > 'verbose' => \$Verbose, >> > ) ; >> > >> > } # while ($next_record = <FH>) >> > } >> >> There is one less opening brace (1) than closing braces (2). > >...and a missing semi-colon is missing after: > > my (@qualscores) > >should be: > > my (@qualscores); > >Georges Always someone who doesn't 'get' it. The syntax errors aren't the point. Vicki was VERY clear on that issue. She KNOWS they're there. In fact, they MUST be there for the script to generate the error code! Or at LEAST the first error must be. RE-READ: > Note here that I am NOT asking for help finding the syntax errors. I did > that ageas ago. What's weird is that the Syntax Error message changes > radically when I remove and replace a single (commented!) line of code. Why? One would EXPECT the ONLY line numbers to change when the commented lines are removed. What's mystifying about this is: > # Bareword found where operator expected, near ") > > # Get and validate the input options > > GetOptions" > File 'Untitled #2'; Line 18 versus: > # Bareword found where operator expected, near "GetOptions" > File 'Untitled #2'; Line 17 > # (Missing operator before GetOptions?) **Of course** the "missing operator" is the semi-colon after ")" on line 14! That begs the real question: Why does the syntax checker quote all four lines after the error in the first case, and only the fourth line after the error in the second? The only change being the removal of a single commented line. All *I* can do is agree that it's weird! Also not particularly helpful in the second case! Is this JUST MacPerl, or do other Perls do this too? --B # Fungal Parataxonomy Mycology Information (Mycoinfo) # Webmaster, Staff Writer **The World's First Mycology E-Journal** # <mailto:webmaster@mycoinfo.com> <http://www.mycoinfo.com/> # # First they ignore you. Then they laugh at you. Then they fight you. # Then you win. --Mohandas Gandhi ===== Want to unsubscribe from this list? ===== Send mail with body "unsubscribe" to macperl-request@macperl.org