From: brian d foy Date: Tue, 1 Mar 2011 08:46:27 +0000 (-0600) Subject: Point people to perlop for here doc errors X-Git-Tag: accepted/trunk/20130322.191538~5238 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=97b3d10f3f393a500d6363c6c198235799d677e9;p=platform%2Fupstream%2Fperl.git Point people to perlop for here doc errors This makes this long warning slightly more useful: Can't find string terminator %s anywhere before EOF --- diff --git a/pod/perldiag.pod b/pod/perldiag.pod index ce2a5d2..f5e115c 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -792,9 +792,12 @@ nesting levels, the following is missing its final parenthesis: print q(The character '(' starts a side comment.); -If you're getting this error from a here-document, you may have included -unseen whitespace before or after your closing tag. A good programmer's -editor will have a way to help you find these characters. +If you're getting this error from a here-document, you may have +included unseen whitespace before or after your closing tag or not +have anything, including a linebreak, after the closing tag. A good +programmer's editor will have a way to help you find these characters +(or lack of characters). See L for the full details on here +documents. =item Can't find Unicode property definition "%s"