use warnings; print ">>>$ARGV[0]<<<\n"; open (FILE,">test.txt") or die $!; print FILE $ARGV[0];
Tips from the Basic debugging checklist
In reply to Re: ARGV empty when calling Perl from C program
by toolic
in thread ARGV empty when calling Perl from C program
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |