Hi folks, 

I have this simple c program that invokes a perl program. 

#include <stdio.h>


void main()
{
system("perl perl1.pl"); 
return;
}


Now, perl1 should be a char varible that changes according to the 
user's choice. 
My question is now, how do you pass a variable to the command:

system("perl variable.pl");

Any help is greatly appreciated!

Reply via email to