Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Here document construct problem

by artist (Parson)
on Feb 17, 2005 at 20:34 UTC ( [id://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.

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://432079]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-20 02:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found