in reply to Upgrade B::Deparse?

The B modules hook into the compiler stuff sort of but not really. All the actual low level stuff happens in perl-?.?.?/ext/B/B.xs which you get when you do a use B;. B::Deparse is just plain perl code. It doesn't access any internals (directly) and nothing in B::* will alter your program runtime (some other B:: stuff from CPAN is different but you aren't using those). I do see that perl 5.8.0 comes with B::Deparse rev 0.63 so you if you get rev 0.61 then that isn't jumping up to 5.8.0. Now the remaining obvious thing here is that since B::Deparse isn't C code it's not compiled and in general it shouldn't be able to break things. I say upgrade. Try it out and just keep a copy of your stock B/Deparse.pm file if you want to swap it back in.

__SIG__
printf "You are here %08x\n", unpack "L!", unpack "P4", pack "L!", B::svref_2object(sub{})->OUTSIDE

Replies are listed 'Best First'.
Re: Re: Upgrade B::Deparse?
by Hrunting (Pilgrim) on Oct 03, 2002 at 20:56 UTC
    Back to the second part of the problem. How do I upgrade B::Deparse? I can't find it in the B hierarchy on CPAN. It looks like it's only part of the perl distribution, and perl 5.6.1 comes with 0.60. So where do I find B::Deparse (I can figure out how to install it myself).

      Oh. I didn't realize you couldn't find that rev. I'm not sure but I'd look in the various source distributions at ftp://ftp.cpan.org/pub/CPAN/src/5.0/ likely in the devel/ directory to see about finding something betweeen. If doesn't do it then I'd just have to ask on perl5-porters for assistance.

      __SIG__
      printf "You are here %08x\n", unpack "L!", unpack "P4", pack "L!", B::svref_2object(sub{})->OUTSIDE