in reply to Tri state string compare? (Solved! see update2)
First thing that comes to mind
my $abc = "AABCBAABCCCCAB"; my $ab = "AABABAABABABAB"; (my $abca = $abc) =~ y/C//d; $abca eq $ab and say "THAY MATCH!";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Tri state string compare?
by BrowserUk (Patriarch) on Dec 13, 2015 at 18:46 UTC | |
by Tux (Canon) on Dec 14, 2015 at 07:28 UTC |