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

@ps=grep {/$module/ and not /grep/} @ps;

Why would you try to match the string /grep/ when you are using Perl's grep function.    That makes no sense at all.