in reply to Re: code snippet
in thread code snippet

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?

Replies are listed 'Best First'.
Re^3: code snippet
by BrowserUk (Patriarch) on Jun 17, 2008 at 19:37 UTC
    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.