in reply to Re: Missing bracket?
in thread Missing bracket?

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.

Replies are listed 'Best First'.
Re^3: Missing bracket?
by punkish (Priest) on Jan 10, 2005 at 17:26 UTC
    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.
Re^3: Missing bracket?
by gellyfish (Monsignor) on Jan 10, 2005 at 17:30 UTC

    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\

Re^3: Missing bracket?
by BrowserUk (Patriarch) on Jan 10, 2005 at 18:24 UTC

    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.