in reply to Re: Get identical elements and index from 2 Arrays in Perl
in thread Get identical elements and index from 2 Arrays in Perl

Thanks Eily. I am not familiar with the 'grep' feature, only loops and arrays structures. Is it possible to print strings for each output line "print "$search: @found\n";" ?. Thank you a lot!
  • Comment on Re^2: Get identical elements and index from 2 Arrays in Perl

Replies are listed 'Best First'.
Re^3: Get identical elements and index from 2 Arrays in Perl
by Eily (Monsignor) on May 27, 2019 at 14:51 UTC

    I'm sorry I did not get that question. I know that my code output is not exactly what you asked for, but the main logic is there. If you've already tried to adapt it to your needs, please show us your updated code, and what's missing for you to continue.