in reply to Re: When eclipse is the Villain
in thread When eclipse is the Villain

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re^3: When eclipse is the Villain
by clinton (Priest) on Jul 02, 2007 at 12:23 UTC
    Your last =cut has two spaces on the preceding 'blank line'. This is not valid POD (see perlpod)

    You can use podchecker from Pod::Checker to validate your POD - it would have given you the error in a second.

    I use the AnyEdit plugin for Eclipse to trim any trailing whitespace on my Perl files.

    Clint

Re^3: When eclipse is the Villain
by GrandFather (Saint) on Jul 02, 2007 at 18:27 UTC

    Yup, and as I said repeatedly, check for extra white space. You have extra white space on the line before the final =cut. That is where your problem is.

    In your browser click and drag over the text in the download box to select it and you will see from the highlighting the extra characters. In your editor go to the end of each "blank" line and make sure that the end of the line is the left hand margin. If the cursor is to the right of the left margin then there is extra whitespace on the line - delete it.


    DWIM is Perl's answer to Gödel