On 2008-07-15 15:44:44 +0200, Michael Schroeder wrote:
On Tue, Jul 15, 2008 at 03:41:25PM +0200, Marcus Rueckert wrote:
quoting from dirk's diff: - open(F, '<', $file) || die("$file: $!\n");
Oh, but it can't die here unless the filesystem is corrupt. And in that case, it really should die instead of doing more damage...
there are more graceful ways of handling error conditions. like jumping out of the handling and returning proper errors. darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org