in reply to
Re: Here document construct problem
in thread Here document construct problem
I removed the trailing spaces, and I am still getting the warning. I will update my scratchpad with the new code.
Can you run this code (via the shell/Command Prompt/Run)
perl -nle "print qq(Check line: $.), if (m/print <<ENDOFHTML;\s+$/ or (m/^(\s*)ENDOFHTML(\s*)$/ and ($1 or $2)))" filename
Results (346 votes),