Skip Menu |

This queue is for tickets about the Apache-LogF CPAN distribution.

Report information
The Basics
Id: 34629
Status: new
Priority: 0/
Queue: Apache-LogF

People
Owner: Nobody in particular
Requestors: imacat [...] mail.imacat.idv.tw
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.01
Fixed in: (no value)



Subject: exit with 0 Instead of die() in Makefile.PL
Dear Dorian Taylor, Hi. This is imacat from Taiwan. I found that the Makefile.PL in your Apache-LogF-0.01 die() when mod_perl version is insane. I would like to suggest you to exit() with 0 instead of die() in your Makefile.PL, as suggested by this article: <<Notes For CPAN Authors> "How can I stop getting FAIL reports for missing libraries or other non-Perl dependencies?" http://cpantest.grango.org/wiki/CPANAuthorNotes I made a simple patch to Apache-LogF-0.01, in the hope that it helps. Please tell me if you have any question, or if I could be of any help. Thank you.
Subject: Apache-LogF-0.01-exit0.diff
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 diff -u -r Apache-LogF-0.01.orig/Makefile.PL Apache-LogF-0.01/Makefile.PL - --- Apache-LogF-0.01.orig/Makefile.PL 2005-06-12 01:00:50.000000000 +0800 +++ Apache-LogF-0.01/Makefile.PL 2008-04-03 02:01:00.000000000 +0800 @@ -15,7 +15,8 @@ if (!$@) { if ($mod_perl::VERSION >= 1.99) { # sorry we can't do pre-rc5 mod_perl2. - - die "Incompatible version of mod_perl. Please upgrade."; + print STDERR "Incompatible version of mod_perl. Please upgrade."; + exit 0; } # last sane mod_perl 1? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkfzyg0ACgkQi9gubzC5S1yx9ACfURorNZsfGTXR6EUDFHvpBrmv LrsAnAmk5gLTlsAuCFa2opOzCaHJ3j74 =Zq/5 -----END PGP SIGNATURE-----