in reply to Re: (tye)Re3: Answer: how do i push an array into the perl stack in C prog before calling perl_call_pv
in thread how do i push an array into the perl stack in C prog before calling perl_call_pv

Which takes us back to what I said first: You can make a reference to the array and XPUSH that. See "perldoc perlguts" under the heading "References" for more information.

Sorry, I don't know how to make a reference off the top of my head, but I doubt that it is terribly difficult.

        - tye (but my friends call me "Tye")
  • Comment on (tye)Re4: Answer: how do i push an array into the perl stack in C prog before calling perl_call_pv

Replies are listed 'Best First'.
Re: (tye)Re4: Answer: how do i push an array into the perl stack in C prog before calling perl_call_pv
by Anonymous Monk on May 10, 2001 at 09:13 UTC
    got it .thanks a lot. ragu