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
In reply to Re: help help!! simple bug
by bjelli
in thread Can't find EOM before end of file
by newatperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |