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
By rote learning.
Via Genetic memory.
It's provided by my firmware.
I just remember them.
Thirty days hath September
My computer gets it right, usually.
I just ask someone else.
Someone punches me on the first of the month.
Results (144 votes),