> Not necessarily. Let's assume I have code like this: > my $var = 'X'; > myXSfunc(); > In myXSfunc(), I want to access variable $var.
Ok, understood what you're thinking of. > The question is whether there is a > function like perl_get_sv(), but for lexical variables? I don't know. Someone else? Cheers, Olli