$ perl test.pl *.txt #### $VAR1 = []; #### use Win32::Autoglob;