Should that be readdir instead of scandir?
-- Ken
In reply to Re^2: Multiple File Rename by kcott in thread Multiple File Rename by perl_n00b