Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Why do here-docs have to end with a newline, not EOF?

by pc88mxer (Vicar)
on May 11, 2008 at 23:45 UTC ( [id://686005]=note: print w/replies, xml ) Need Help??


in reply to Why do here-docs have to end with a newline, not EOF?

It seems you'll only get that problem if the last line of your file doesn't end in a newline.

Don't know why that's the case, but otherwise there's no problem having a here document at the end of your program.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-03-29 14:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found