Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

possible bug in the perl debugger in perl 5.34

by mandarin (Hermit)
on Oct 04, 2021 at 15:00 UTC ( #11137210=perlquestion: print w/replies, xml ) Need Help??

mandarin has asked for the wisdom of the Perl Monks concerning the following question:

Dear fellow monks,

I would like to confirm that I am experiencing a bug in the perl debugger shipped with perl 5.34, which is perldb.pl version 1.60

If I type the debugger command 'v', there is a weird error message:

# perl -de '1;' Loading DB routines from perl5db.pl version 1.60 Editor support available. Enter h or 'h h' for help, or 'man perldebug' for more help. main::(-e:1): 1; DB<1> v Undefined subroutine &DB::cmd_l called at /usr/local/lib/perl5/5.34.0/ +perl5db.pl line 6034. at /usr/local/lib/perl5/5.34.0/perl5db.pl line 6034. DB::cmd_v("v", "", 1) called at /usr/local/lib/perl5/5.34.0/pe +rl5db.pl line 4798 DB::cmd_wrapper("v", "", 1) called at /usr/local/lib/perl5/5.3 +4.0/perl5db.pl line 4311 DB::Obj::_handle_cmd_wrapper_commands(DB::Obj=HASH(0x558a9ea7b +5c0)) called at /usr/local/lib/perl5/5.34.0/perl5db.pl line 3200 DB::DB called at -e line 1
This happens in the perl:5.34 docker container I pulled from https://hub.docker.com/_/perl

Replies are listed 'Best First'.
Re: possible bug in the perl debugger in perl 5.34
by marto (Cardinal) on Oct 04, 2021 at 15:06 UTC
      Oops, I ran git fetch but forgot to actually git merge, so I started fixing the problem that had already been fixed.

      My fix is more complete than the existing one, though: #19171

      map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11137210]
Approved by marto
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2022-05-22 04:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (79 votes). Check out past polls.

    Notices?