in reply to Perl debugger variable completion crashing debugger

See commit c3970b803:
@@ -9385,7 +9385,7 @@ If the package is C<::> (C<main>), create an emp +ty list; if it's something else, =cut push @out, map "$prefix$_", grep /^\Q$text/, - ( grep /^_?[a-zA-Z]/, keys %$pack ), + ( grep /^_?[a-zA-Z]/, do { no strict 'refs'; keys %$pack } +), ( $pack eq '::' ? () : ( grep /::$/, keys %:: ) ); =item *
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Replies are listed 'Best First'.
Re^2: Perl debugger variable completion crashing debugger
by HayoBaan (Initiate) on Apr 15, 2015 at 07:18 UTC

    Thanks! That do { no strict… seemed to fix it 😄

    Short of installing a new version of perl, is there an easy way to upgrade this core file in an existing installation?

    For now I have simply copied perl5db.pl to a location earlier in the @INC path and made the little change, that works, but I'd actually like a cleaner way. Hmm, I could of course fix the file in /System/Library/Perl/5.18 too, but somehow I'd rather not 😮

    Note too that reverting to the still existing 5.16 installation using export VERSIONER_PERL_VERSION=5.16 worked as well, of course.