From: "R. Joseph Newton" <[EMAIL PROTECTED]>
> perl_beginner wrote:
> 
> >  While the code works fine with Linux, crumbles on XP saying "Can't
> >  find
> > string terminator "EOM" anywhere before EOF at recordProxy.pl line
> > 317". Line 317 in my code is: $response= <<"EOM";
> 
> To start with, you should lose the quotes around EOM in the opening of
> the string assignment above. I'm not sure that those in themselves
> would cause the code to fail, but they make it more confusing.

I disagree. Yes, the quotes are not required there, but it would 
still be better to keep them. So that you do not have to wonder 
whether 
        $response = <<EOM
is the same as
        $response = <<"EOM";
or
        $response = <<'EOM';

IMHO of course.

Anyway the quotes cannot be the problem.

[EMAIL PROTECTED], are you sure the code is exactly the same 
on Linux and XP?

Jenda

Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
        -- Terry Pratchett in Sourcery


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to