in reply to Re: spaces in grep command argument executed in backticks
in thread spaces in grep command argument executed in backticks

my @ppids = map {(split)[2]} grep /$module/,`ps -ef`;
my @ppids = map /$module/?(split)[2]:(), `ps -ef`;