http://www.perlmonks.org?node_id=932245


in reply to Re^4: Is there a way to compare strings without using an array?
in thread Is there a way to compare strings without using an array?

Abstract your comparison code out into a subroutine and give it a try. Should be quick simple code to write and you'll know exactly how well it performs. Will make changing the code or comparing it to other possible solutions simple as well.