Perl Monk, Perl Meditation | |
PerlMonks |
Re^5: how to ignore spaces, commad or new line of an array when comparingby dbuckhal (Chaplain) |
on Jun 16, 2021 at 14:36 UTC ( [id://11133922]=note: print w/replies, xml ) | Need Help?? |
I am not familiar with Array::Compare, and all of its options, but how about utilizing a "chomp and slurp mode" combination to flatten the file contents? Then the rest of the array prep might look like this:
just a quick thought... hope it helps. Info: Perl Maven Slurp Mode
In Section
Seekers of Perl Wisdom
|
|