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 <ajs-Xy/8OPi/Zy8@xxxxxxxxxxxxxxxx>
Senior Systems Engineer and Toolsmith
"We had some good machines, but they don't work no more." -Shriekback
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|