in reply to Open a folder
for my $file (glob 'C:/Users/ZB/Desktop/Text\ Files/*.txt') { calculate($file) } [download]