Re: Accessing a list of returned values from perl in C code

2002-02-05 Thread Archana Narla
OopS! Sorry..about the list. Thanks, that worked! archana Gerald Richter wrote: >>your missing the proper mailing list, >> > > Yes > > anyway... > > >>>n = perl_call_pv("genericInvoke", G_SCALAR); >>> > > You have to call it in array context, so write: > > n = perl_call_pv("genericInvoke

Re: Accessing a list of returned values from perl in C code

2002-02-02 Thread Gerald Richter
> your missing the proper mailing list, Yes anyway... > > n = perl_call_pv("genericInvoke", G_SCALAR); You have to call it in array context, so write: n = perl_call_pv("genericInvoke", G_ARRAY); Gerald - Gerald Richterecos el

Re: Accessing a list of returned values from perl in C code

2002-02-01 Thread ___cliff rayman___
your missing the proper mailing list, unless i am missing something. ;-) embperl is all about serving up html pages with embedded perl code. try: comp.lang.perl.moderated comp.lang.perl.misc Archana Narla wrote: > HI, > I have a perl subroutine that is like > sub test { > return ( 1