in reply to Re^4: how to ignore spaces, commad or new line of an array when comparing
in thread how to ignore spaces, commas or new line of an array when comparing
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:
- chomp and slurp
- filter out special characters
- split and push
just a quick thought... hope it helps.
Info: Perl Maven Slurp Mode
In Section
Seekers of Perl Wisdom