Hi,
I have an installation with Apache/1.3.29,
mod_perl/1.29 and HTML::Embperl 1.3.6.
If I use this code,
open FH, "file";
@file = <FH>;
I get this error.
ERR: 24: Error in Perl code: syntax error at ...
line ..., at EOF
This is fixed only by doing
(1) @file = <FH>; or
(2) @file = <FH>;
But the problem is that I'm running an upgraded server
off of the same file. (Embperl 2.1.0) The new server
gives me this error.
(1) <FH>
ERR: 24: Error in Perl code: syntax error at ... at
EOF
(2) <FH>
ERR: 24: Error in Perl code: syntax error at ..., near
">"
If I use while (<FH>) directly, some servers work and
some give the same errors. I'm trying to find why but
only found that on the ones that allows while (<FH>)
I'm using rewrite modules.
I can work around by using read calls with a few more
lines, but would like to know whether I hit a closed
wall or I'm just not seeing the door.
Thanks.
Ben Kim
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]