Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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
Re^2: Here document construct problem
by hok_si_la (Curate) on Feb 17, 2005 at 20:44 UTC
    Artist,

    I removed the trailing spaces, and I am still getting the warning. I will update my scratchpad with the new code.

    hok_si_la

      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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2014-07-31 03:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (244 votes), past polls