in reply to code snippet

is this missing a closing bracket?

No.

c:\test>perl -c junk1.pl junk1.pl syntax OK

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."

Replies are listed 'Best First'.
Re^2: code snippet
by grashoper (Monk) on Jun 17, 2008 at 19:03 UTC
    is this a way to test for syntax errors? I have trouble finding where things are going wrong as I am not familiar with how to run a debugger on this activestate perl, I would love to figure out how to test blocks of code for errors like misssing brackets, does use strict do that?
      is this a way to test for syntax errors?

      Yes.

      I am not familiar with how to run a debugger on this activestate perl

      How do you do it with a non-activestate perl?

      I would love to figure out how to test blocks of code for errors like misssing brackets, does use strict do that?

      What happens when you try that?


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.