$dir = 'c:/some/directory\ with\ spaces'; @xlfiles = glob("$dir/*.xls");