use Modern::Perl; while (my $first = ) { my $second = ; chomp $first; chomp $second; say "Is >$first< equal to >$second## Is >test< equal to >TESTtesting< equal to >testingTESTED< equal to >TESTEDTeStS< equal to >tEsTsa Test< equal to >another Test