@files = glob("*"); rather than @files = <*>;