I tried that and $0 contains ./script.pl. I don't know where the "1" from temp[0] went.
In reply to Re^4: ARGV empty when calling Perl from C program
by Lotus1
in thread ARGV empty when calling Perl from C program
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |