use strict; use warnings; my $str = <$_<\n" for @matches;