Re: XS, get/set value when passing a ref

2009-08-01 Thread Chas. Owens
On Sat, Aug 1, 2009 at 15:37, Patrick Dupre wrote: > > Hello, > > I did fail in trying to change value in XS when I pass a reference: > Typically: > in perl: > my $a = 5 ; > test (\a) ; > > in XS > void > test (nb) >  int *nb >  CODE: >    (*nb)++ ; > > It does work, > Should I use a ref on a ref ?

XS, get/set value when passing a ref

2009-08-01 Thread Patrick Dupre
Hello, I did fail in trying to change value in XS when I pass a reference: Typically: in perl: my $a = 5 ; test (\a) ; in XS void test (nb) int *nb CODE: (*nb)++ ; It does work, Should I use a ref on a ref ? -- --- ==

Set value

2004-06-30 Thread Charlene Gentle
Hi I have the next problem. The person push a button for , how do I get 'n popup windows with three values. $opt_t, $opt_v,$opt_c. It has to open a fle with that criteria, and have to create a file to save errors to with that criteria. It is for the usage that they have set. exsample of val