Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: help help!! simple bug

by bjelli (Pilgrim)
on May 09, 2001 at 11:58 UTC ( #79039=note: print w/ replies, xml ) Need Help??


in reply to Can't find EOM before end of file

dws said it perfectly.

A good habit to ensure that there is a "\n" at the end of EOM, even if it's the last line in the program: Always add a comment at the end of the program, like so:

print <<EOM; <p>something <p>more of something EOM # that's all.

My text editor on windows never writes a line-break after the last line - took me ages to find that out.

--
Brigitte    'I never met a chocolate I didnt like'    Jellinek
http://www.horus.com/~bjelli/         http://perlwelt.horus.at


Comment on Re: help help!! simple bug
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (11)
As of 2015-08-04 21:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (75 votes), past polls