From 97b3d10f3f393a500d6363c6c198235799d677e9 Mon Sep 17 00:00:00 2001 From: brian d foy Date: Tue, 1 Mar 2011 02:46:27 -0600 Subject: [PATCH] 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 --- pod/perldiag.pod | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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" -- 2.7.4