On Wed, 2006-05-24 at 03:23 -0400, BORIS REITMAN wrote:
> Hi,
> Is some module like Devel::Peek that will give me
> the address of the C-space perl interpreter object
> that executing my perl script ? 
> 
> I mean, I want to find out the perl intepreter address, inside the perl 
> script.

What part of it? You could use:

        use Inline C => q{
          void * get_thx_loc () {
            dTHX;
            return (void*)aTHX;
          }
        };
        my $loc = get_thx_loc();

But I cannot imagine any sane world in which you want to do that!

-- 
Aaron Sherman <[EMAIL PROTECTED]>
Senior Systems Engineer and Toolsmith
"We had some good machines, but they don't work no more." -Shriekback


 
_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to