in reply to @ARGV and glob

It depends on the shell to which that command is passed.

cmd and PowerShell will pass *.txt

sh, csh and their derivatives will expand the glob and pass multiple files names. (Their behaviour may vary when there are no matching file names. Some will pass *.txt.)