in reply to Quoting in Backtick
On my system, your code produces this error:
sh: -c: line 0: unexpected EOF while looking for matching `''
Backticks interpolate like double quotes, so you need to escape the $
my @load = `ps -ef | grep neversaint | grep 'somecmnd.exe\$' | wc -l`;
|
|---|