[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    Re: AW: Unsuccessful stat on filename containing newline in RegistryCooker.pm
From:       Torsten_Förtsch <torsten.foertsch () gmx ! net>
Date:       2013-02-28 12:00:39
Message-ID: 512F46E7.1090408 () gmx ! net
[Download RAW message or body]

On 02/28/2013 12:31 PM, Alexander.Elgert@external.t-systems.com wrote:
> ________________________________________
>> > [Wed Feb 13 16:27:33 2013] [error] [client 192.168.254.21] Unsuccessful
>> > stat on filename containing newline at
>> > /usr/local/lib64/perl5/ModPerl/RegistryCooker.pm line 787.\n
> I am confused, because a filename is able to contain newlines.

The point here is not the capabilities of the file system. The point is
that Perl is obviously intended by its makers to be used by stupid
programmers who put in at least "use warnings" and who's problems
commonly include reading lists of file names from a newline-delimited
file where they tend to forget the chomp command.

Torsten
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic