--for (0 .. $#lines1) { print $lines1[$_] eq $lines2[$_] ? $lines1[$_] : '*'; }
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: comparing strings
by davorg
in thread comparing strings
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |