Re: Help with variable number of args

2003-09-17 Thread Nick Ing-Simmons
Tassilo Parseval [EMAIL PROTECTED] writes: On Wed, Sep 17, 2003 at 11:39:54AM +1000 Dave Horsfall wrote: Pardon me if this is a FANQ (Freq. Asked Newbie Question), but I cannot find any references to what I want to do. I'm porting some legacy Perl/C code; it was originally done under Perl3

Re: Help with variable number of args

2003-09-17 Thread Tassilo von Parseval
On Wed, Sep 17, 2003 at 05:25:57PM +0100 Nick Ing-Simmons wrote: Tassilo Parseval [EMAIL PROTECTED] writes: On Wed, Sep 17, 2003 at 11:39:54AM +1000 Dave Horsfall wrote: So you can see my dilemma; I need to tell the underlying C code how many arguments there are (I cannot change the Perl

Re: Help with variable number of args

2003-09-17 Thread Nick Ing-Simmons
Tassilo Parseval [EMAIL PROTECTED] writes: On Wed, Sep 17, 2003 at 05:25:57PM +0100 Nick Ing-Simmons wrote: Tassilo Parseval [EMAIL PROTECTED] writes: On Wed, Sep 17, 2003 at 11:39:54AM +1000 Dave Horsfall wrote: So you can see my dilemma; I need to tell the underlying C code how many

Difference bewteen SvPV_nolen() and SvPVbyte_nolen(), and how to get SvPVbyte_nolen() used?

2003-09-17 Thread kyfung
Probably a newbie question. I had to modify a SvPV_nolen() to SvPVbyte_nolen() to get some code to work properly. What is the difference between SvPV_nolen() and SvPVbyte_nolen()? How do I get SvPVbyte_nolen() used for a parameter instead of SvPV_nolen()? If the type of a parameter is T_PV in