Hi,
On Tue, 15 Feb 2005, Martin Quinson wrote:
On Tue, Feb 15, 2005 at 03:47:37PM +0000, Jordi Vilalta wrote:
> Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
> In directory haydn:/tmp/cvs-serv7743
>
> Modified Files:
> Man.pm Xml.pm
> Log Message:
> Change "warn + exit 0" for "die" (exit 0 means "all ok"
in the shell)
Yes, exactly. warn + exit 0 is different than die, which means "problem".
The difference between both is used to separate the cases where this is a
user problem (try on pod generated pages => no error) from cases where we
don't have any good solution to propose to the users...
Ok, I get it. I didn't think on this separation.
I like Nekral's idea of using different error codes.
Regards,
Jordi Vilalta