my @args = ( $^X, qw' -pi -e ', $perlprogram, 'test.txt' ); system {$args[0]} @args;
2) What is your expected output? Where do you want to add # that isn't happening
In reply to Re: System command problem in perl
by Anonymous Monk
in thread System command problem in perl
by vr786
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |