Help for this page
local $/ = undef; my $input = <$inputfile>; my( @txtFiles ) = $input =~ m/\s(\S+\.txt)\s/g;