Thanks a lot Jeff.
Sorry for posting the partial code. I should take care next time.
The error that I made was to receieve the output of `my_utility` in scalar
my $out = `my_utitlity`.
After changing it to list as
my @out = `my_utility` and using grep on it worked like charm.
I didnt correctly
On Sep 23, Manish Sapariya said:
I want to have pure perl equivalent of following:
my $out = `my_utility | grep manish`;
which will give me the lines containing manish in the output
of my_utility in variable $out.
You'd use the aptly-named grep() function in Perl to get only those
elements