No such thing as a small change | |
PerlMonks |
Re: Problem with Perl 'system' comandby lorn (Monk) |
on May 26, 2010 at 16:42 UTC ( [id://841753]=note: print w/replies, xml ) | Need Help?? |
Because system comand create another bash process for STDOUT/STDERR, so your local variable probably does not exits. Try to pass the variable in the system() call, like: system("LANG=Perl /usr/bin/my_c_program");
In Section
Seekers of Perl Wisdom
|
|