Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 ( #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.

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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2020-08-13 00:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which rocket would you take to Mars?










    Results (68 votes). Check out past polls.

    Notices?