in reply to Only files starting with xxxx

Hi,
Simple enough... Use grep.Replace the line

@allfiles = readdir THEDIR;
with
@allfiles = grep /^xxxxx/,readdir THEDIR;
And you're done!

Cheers


Leo TheHobbit