Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
how to ignore spaces, commas or new line of an array when comparingby noviceuser (Acolyte) |
on Jun 16, 2021 at 08:01 UTC ( [id://11133910]=perlquestion: print w/replies, xml ) | Need Help?? |
noviceuser has asked for the wisdom of the Perl Monks concerning the following question: I am trying to compare two arrays which may have strings/elements separated by newline, spaces or comma, how can i ignore those special characters while comparing e.g: suppose @array1 has contents like below abc xyzand @array2 has contents like below
Back to
Seekers of Perl Wisdom
|
|