Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Here document construct problem

by artist (Parson)
on Feb 17, 2005 at 20:34 UTC ( #432079=note: print w/ replies, xml ) Need Help??

in reply to Here document construct problem

"Original Script" has an extra space character at the end (after END_OF_PRINT). Remove that character and it should work fine.

Comment on Re: Here document construct problem
Replies are listed 'Best First'.
Re^2: Here document construct problem
by hok_si_la (Curate) on Feb 17, 2005 at 20:44 UTC

    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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://432079]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2015-11-29 22:06 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (753 votes), past polls