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.
In reply to Re: Different behaviour of 'stat' function after assignment to $! (errno).
by ikegami
in thread Different behaviour of 'stat' function after assignment to $! (errno).
by muxxum
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |