in reply to Re: Deleting elements of one list using another
in thread Deleting elements of one list using another

Great, this works fine for me. Flawless code except for  @splitted in the  grep command which should be  @splitted[0]. Thanks!

Replies are listed 'Best First'.
Re^3: Deleting elements of one list using another
by nemesdani (Friar) on Aug 02, 2012 at 20:25 UTC
    You mean $splitted[0]? :)
    But no. splitted[0] contains "John" in the first loop, than "Jane", finally "Jessica". You'd like to grep the whole "John ABC 42" for ABC, don't you?
    Otherwise I haven't understand the problem well enough.

    I'm too lazy to be proud of being impatient.