in reply to Re^2: ARGV empty when calling Perl from C program
in thread ARGV empty when calling Perl from C program

Look in $0

Replies are listed 'Best First'.
Re^4: ARGV empty when calling Perl from C program
by Lotus1 (Vicar) on May 23, 2014 at 20:25 UTC

    I tried that and $0 contains ./script.pl. I don't know where the "1" from temp[0] went.