Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

get interrupting error post DB::Color installing

by abdan (Acolyte)
on Nov 15, 2021 at 01:56 UTC ( [id://11138818]=perlquestion: print w/replies, xml ) Need Help??

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

DB::Color just installed, then each time n or s command is being used get interrupted:
Undefined subroutine &DB::cmd_l called at /usr/share/perl5/core_perl/perl5db.pl
How to fix it and keep making use of colorization on interactive Debug shell ?

Replies are listed 'Best First'.
Re: get interrupting error post DB::Color installing
by Fletch (Bishop) on Nov 15, 2021 at 06:06 UTC

    It looks like that sub was completely removed recently but the DB::Color module hasn't been updated since 2015.

    Edit: of course that was in bleed so that specific change is probably not exactly your problem unless you're using a bleed compiled perl. That being said though looking in the 5.34.0 source I don't see a sub _cmd_l defined therein.

    Oh and the sub looks to maybe have been renamed _cmd_l_main (haven't grobbled through the entire history, but as a guess . . .). Prossibly if you patch DB::Color to use that instead of the plain _cmd_l it may just work (in which case you probably should file an issue with the author through the github tracker).

    The cake is a lie.
    The cake is a lie.
    The cake is a lie.

      bleed compiled perl

      By this, do you mean a development version of Perl that has not yet been officially released???

        Correct; the "bleed" branch is the name for the bleeding edge development line in the git repository. If one were to compile from a git clone with that checked out you'd get whatever the 5.35.tobe version currently looks like. I'm guessing that's not the case here as the module's similarly unworky for me with 5.34.0 (however its tests pass); I merely pointed to that change as the first sign I saw of what might be going on with the sub in question.

        Edit: me no spal gud at 1 in morning obviously . . . but I'm consistent, so I've got that going for me.

        The cake is a lie.
        The cake is a lie.
        The cake is a lie.

Re: get interrupting error post DB::Color installing
by LanX (Saint) on Nov 15, 2021 at 08:14 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-24 07:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found