develooper Front page | perl.perl5.porters | Postings from December 2011

knowing variable name using SV pointer

Thread Next
From:
Kamal Khatri
Date:
December 31, 2011 14:51
Subject:
knowing variable name using SV pointer
Message ID:
CAByhwixkH=CR-iDVD-5by0FoHXGBawOeeukDy+cHCdpbbNGbXw@mail.gmail.com
Hi all,

Perlguts mentions that we can get SV pointer to a variable
by using its name as follows:

SV* perl_get_sv("myvar", FALSE);

Is there a way to get back the variable name using the SV pointer.
In this case it would mean getting the name "myvar" using the
SV pointer.

Any pointers would be highly helpful.

thanks,
Kamal

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About