Skip Menu |

This queue is for tickets about the PadWalker CPAN distribution.

Report information
The Basics
Id: 14886
Status: resolved
Worked: 10 min
Priority: 0/
Queue: PadWalker

People
Owner: robin [...] cpan.org
Requestors: ovid [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.12
Fixed in: 0.13



Subject: Debugging mode enabled when installed via CPANPLUS
In your Makefile.PL, you have the following code: if (@ARGV) { warn "Configuring a debugging build of PadWalker\n"; $DEBUGGING = '-DPADWALKER_DEBUGGING'; } Unfortunately, many people configure CPAN or CPANPLUS to automatically add certain arguments to the Makefile.PL. This causes PadWalker to automatically be built with debugging enabled. Cheers, Ovid
Date: Mon, 3 Oct 2005 10:55:12 +0100
From: Robin Houston <r.houston [...] cs.man.ac.uk>
To: via RT <bug-PadWalker [...] rt.cpan.org>
CC: ovid [...] cpan.org
Subject: Re: [cpan #14886] Debugging mode enabled when installed via CPANPLUS
RT-Send-Cc:
On Mon, Oct 03, 2005 at 01:12:52AM -0400, via RT wrote: Show quoted text
> Unfortunately, many people configure CPAN or CPANPLUS to > automatically add certain arguments to the Makefile.PL. This causes > PadWalker to automatically be built with debugging enabled.
Oh dear! Thanks for letting me know. Why do they do that? What arguments do people pass to their Makefile.PL? (Most Makefile.PL's just ignore @ARGV, so I'm trying to work out what good it would do to pass arguments by default.) Given that the command line arguments are used for other things, what's the best way to pass a debug-mode flag? (Just look for a '-d' argument?) Robin
Date: Mon, 3 Oct 2005 11:37:18 +0100
From: Robin Houston <r.houston [...] cs.man.ac.uk>
To: Robin Houston via RT <bug-PadWalker [...] rt.cpan.org>
CC: ovid [...] cpan.org
Subject: Re: [cpan #14886] Debugging mode enabled when installed via CPANPLUS
RT-Send-Cc:
On Mon, Oct 03, 2005 at 06:20:15AM -0400, Robin Houston via RT wrote: Show quoted text
> (Most Makefile.PL's just ignore @ARGV, so I'm trying to work out > what good it would do to pass arguments by default.)
D'oh! That shows how much I've forgotten about MakeMaker! *ahem* Thanks again. I'll fix it properly now... Robin
This is fixed in version 0.13, which is on its way to CPAN. Thanks for reporting it!
[ROBIN - Mon Oct 3 07:10:49 2005]: Show quoted text
> This is fixed in version 0.13, which is on its way to CPAN. > Thanks for reporting it!
Yay! What a pleasant surprise to wake up to :) Cheers, Ovid