T
Tassilo v. Parseval
Also sprach (e-mail address removed):
You can use call_method() for that. You first have to push 'sv' onto the
stack followed by all arguments the method should receive. See
perlcall.pod for details.
Tassilo
In order to avoid namespace pollution, I would like to do the following
in C:
SV* sv;
char* cmd = "FileHandle->new(q(foo.c));";
sv = eval_pv(cmd, TRUE);
Now, sv points to a class instance. Is there a way to call methods of
the class from w/in C? Preferably, with arguments?
You can use call_method() for that. You first have to push 'sv' onto the
stack followed by all arguments the method should receive. See
perlcall.pod for details.
Tassilo