http://www.perlmonks.org?node_id=963120


in reply to Re^5: s// All Files In Directory
in thread s// All Files In Directory

That depends entirely upon the shell. Bash will turn *.txt into a list of files. cmd.exe will not.