in reply to Re^3: problem with string literal in system()
in thread problem with string literal in system()
I noticed that it was giving an UnInitialized variable message when I tried to print "$cmd\n"; And, it executed the command. Thanks againmy $testCmd = (split /\|/, $configLine)[1]; my $cmd = eval "qq($testCmd)"; my $activity = "testActivity"; system("$cmd 1>$activity.stdout 2>$activity.stderr");
|
|---|