The error is on line 16 of your script.
Also see How (Not) To Ask A Question.
My approach would be:
my $matches = $left ^ $right; $matches =~ s/(.)/$1 eq "\0" ? '*' : "_" /eg;
In reply to Re: 2D string array
by Corion
in thread 2D string array
by aparna_pall
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |