http://qs321.pair.com?node_id=432088


in reply to Re^2: Here document construct problem
in thread Here document construct problem

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