in reply to Missing bracket?

  1. Post the code
  2. Comment out require subs.pl in main.pl and see if you still get the error
  3. Post the code -- oh, I said that already.
;-)

Replies are listed 'Best First'.
Re^2: Missing bracket?
by Anonymous Monk on Jan 10, 2005 at 17:16 UTC
    Thing is I am syntax checking the subs file only; here is an example of what I mean.
    =head sub FirstSub{ #code } ##################### sub Secondsub{ #code } ##################### sub Thirdsub{ #code } #################### =cut 1;
    Since I am ONLY checking the subs file, how can the main.pl file be causing the error.
      I don't get any errors with the above code. Once again, post your entire code since it is hard to guess what have in your scripts.

      If you claim that there is no executable code in your required file (and you can make absolutely sure of this by requiring instead a file consisting only of:

      1;
      .) then it stands to reason that the problem must lie elsewhere.

      /J\

      I fixed it. I just changed the 37th brace to a bracket in mail.pl


      Examine what is said, not who speaks.
      Silence betokens consent.
      Love the truth but pardon error.