severity 744751 wishlist thanks On Tue, Apr 15, 2014 at 10:02:56PM +0300, Niko Tyni wrote: > On Mon, Apr 14, 2014 at 12:02:51PM +0100, Ian Jackson wrote: > > Package: perl > > Version: 5.14.2-21+deb7u1 > > Severity: grave > > > mariner:~/junk> perl -i.bak -pe '' nonexistent > > Can't open nonexistent: No such file or directory. > > mariner:~/junk> echo $? > > 0
> I can see that it would be useful if an exit code would be propagated > on errors, somewhat like for instance find(1) does. I suppose it > should replace the implicit exit(0) at the end of the program so that > explicit exit() or die() calls and the like in the program would take > precedence. > > This seems like it might be a feasible change for the future, but it > needs to be discussed and implemented upstream. Backward compatibility > is a high priority for perl, so it might well get rejected too. > > Anyway, I think this is an enhancement request of the 'wishlist' category, > not a grave bug. It all seems to be working as designed. Lowering the severity as per above. -- Niko Tyni nt...@debian.org -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org