use Modern::Perl; while (my $first = ) { my $second = ; chomp $first; chomp $second; say "Is >$first< equal to >$second