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 = &lt;FH>; or 
(2)  @file = &lt;FH&gt;;

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) &lt;FH>
ERR: 24: Error in Perl code: syntax error at ... at
EOF

(2) &lt;FH&gt;
ERR: 24: Error in Perl code: syntax error at ..., near
"&gt"

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]

Reply via email to