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
A foolish day
Just another day
Internet cleaning day
The real first day of Spring
The real first day of Autumn
Wait a second, ... is this poll a joke?
Results (485 votes),