in reply to Different behaviour of 'stat' function after assignment to $! (errno).

I can replicate the problem in Perl 5.12.2. I confirmed that stat returns false, so it's a bug. I'm guessing there's a call to SvGETMAGIC missing in negation.

I cannot replicate the problem with blead, so it's already been fixed. Probably in 5.14.0.