[debhelper-devel] Bug#797904: debhelper manpage: #DEBHELPER# in Perl: bad error handling
Jakub Wilk
jwilk at debian.org
Mon Sep 7 11:49:52 UTC 2015
Hi Peter!
* Peter Pentchev <roam at ringlet.net>, 2015-09-07, 14:26:
>Hm, this is a personal pet peeve, feel free to ignore it :) ...but it
>does make me cringe a little bit every time people parse the wait()
>status code directly instead of using WIFEXITED(), WEXITCODE() and
>friends...
In C, sure. But in Perl, fiddling with $? bits is a documented and
portable method.
--
Jakub Wilk
More information about the debhelper-devel
mailing list