Help for this page
if ($file =~ /\.txt\z/) { print("Match\n"); } else { print("No match\n"); }
my $file_pattern = '.*'; ... } else { print("No match\n"); }