in reply to Re: perl grep with regex
in thread perl grep with regex
Thank you for your response. Does it make any difference when i read arr2 from a file? (in my actual code i get this array by reading a file). i tried as you suggested and got below output.
Entered in else loop: /^mcs$/ found in (scr mcs tsz unh )
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: perl grep with regex
by choroba (Cardinal) on Jun 30, 2014 at 13:37 UTC | |
by swissknife (Sexton) on Jun 30, 2014 at 14:20 UTC |