in reply to Re^5: Perl List files in directoryin thread Perl List files in directory
problem solved:
@files = grep (/\.xml$/, readdir(DIR)); [download]
Thanks for the help