in reply to B::CC and fake_ppaddr

Make your own method. From reading the source it looks like this is what would be there if the method hadn't been left out. (I assume accidentally), You might also want to take the ppaddr key just in case the first sub is wrong.

sub B::FAKEOP::fake_ppaddr { $_[0]->{fake_ppaddr} || 0 } sub B::FAKEOP::fake_ppaddr { $_[0]->{fake_ppaddr} || $_->{ppaddr} || 0 + }

Replies are listed 'Best First'.
Re: Re: B::CC and fake_ppaddr
by vacant (Pilgrim) on Dec 09, 2003 at 19:48 UTC
    Thanks diotalevi, that seems to work. The output is, well, interesting!
      So spill.
        Well it's a c program all right, with 361 lines produced from:
        #!/usr/bin/perl -w use strict; sub B::FAKEOP::fake_ppaddr { $_[0]->{fake_ppaddr} || 0 } print "here it is\n";
        Should I really post the whole thing here?