Sayed, Irfan (Irfan) wrote: > Hi Mug, Hello,
> Thanks for your mail. I have attached my script for your reference. > I have updated my script as per your suggesion but still i am not > getting proper result. > > Let me explain you what my script does. > > I have one array called as @repl which contains some values. I have > taken another array called as @foo and greped @repl array for "pu_" > string and stored the output in @foo > > Now i need to delete all values(strings) which contains "pu_" from @repl > array. @repl = grep { !/pu_/i } @repl; John -- Perl isn't a toolbox, but a small machine shop where you can special-order certain sorts of tools at low cost and in short order. -- Larry Wall -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>