Andrew Steinborn wrote:
I need to know how to get the arguments passed to Perl. I'm using the
ActiveState built version of Perl on Windows Vista.
Perl loads the command-line arguments into the special variable @ARGV
See `perldoc perlvar`.
--
Just my 0.0002 million dollars worth,
Shaw
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 ?
--
---
==
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 ?