perl-asp mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Chamas <>
Subject Re: intermittent failure reading a file
Date Fri, 15 Jun 2001 19:35:17 GMT
Stephen Bardsley wrote:
> Josh:
> The problem only occurs under Apache::ASP,
> but works wonderfully in a pure perl environment.
> Steve

I don't think Apache::ASP is getting in your way,
but something else in the mod_perl env might be.  In 
particular, if $/ were ever set to anything else,
that would affect the behavior of <IN>

> grep '$/.\='
            local $/ = undef;
    local $/ = undef;

so its not Apache::ASP

If this problem persists for you.  I would carefully
look at the data that you have read in so far
while debugging, to see where it stops in the file.
Also, if all else fails, you might try sysread(IN)
and then @lines = split(/\n/, $data)


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message