Skip Menu |

This queue is for tickets about the FindBin-libs CPAN distribution.

Report information
The Basics
Id: 73346
Status: resolved
Worked: 11 min
Priority: 0/
Queue: FindBin-libs

People
Owner: LEMBARK [...] cpan.org
Requestors: chisel [...] chizography.net
Cc:
AdminCc:

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



Subject: $DB::single left in package
This could cause problems/confusion for anyone else using the perl debugger: https://metacpan.org/source/LEMBARK/FindBin-libs-1.59/lib/FindBin/libs.pm#L20 Most modules have the break point as a conditional: [660][chisel@shell:FindBin-libs-1.55][FindBin-libs-1.59⚡]➔ grep -r single lib/ t/ lib/FindBin/libs_curr.pm: $DB::single = 1 if defined $argz{debug}; lib/FindBin/libs.pm:$DB::single = 1; lib/FindBin/libs.pm:having to modify a single line of code. lib/FindBin/libs_5_8.pm: $DB::single = 1 if defined $argz{debug};
On Sun Dec 18 16:40:35 2011, CHISEL wrote: Show quoted text
> lib/FindBin/libs.pm:$DB::single = 1;
Proposed fix: https://github.com/chiselwright/findbin-libs/commit/a4369db1409656ff8fc700f4ec3b4b910247e4f7
Removed variable, forgot to close in rt.