On Sat, Aug 1, 2009 at 3:20 PM, Bram <p5p@perl.wizbit.be> wrote: > Either way, I belive the test should be updated to: > my $test_prog = 'undef $!;while(<>){print}; print $!'; > No, that's wrong. $! is meanlingless if an error hasn't been reported, and ARGV doesn't report errors since it handles them itself using warnings. Please read blead's perlfunc, particularly this commit: http://perl5.git.perl.org/perl.git/commitdiff/0f03d336cfac20781d0a45d83906fa559a5ecf17?hp=57ad57e0c240e6f9b1b9e73de8068a9bc11b5466Thread Previous | Thread Next