Tassilo von Parseval wrote:
On Wed, Apr 27, 2005 at 05:15:15PM +0200 Reinhard Pagitsch wrote:
Hello,
I know there was sometimes a message where this was described, but I can not find it. Maybe I am to stupid.
What I want is to write in a (global)variable in my .PM from my XS subs.
Can someone point me to the right place please?
With global you mean package variable?
Something like:
SV *sv = get_sv("Global::Scalar", TRUE); AV *av = get_av("Global::Array", TRUE); HV *hv = get_hv("Global::Hash", TRUE); CV *cv = get_cv("Global::Sub", TRUE);
Tassilo
Yes that was it, I think. I will save this message on a place where I can find it again.
Thank you, Reinhard