in reply to
How can a user specify a input folder
File::Find::Rule's start and match methods can be used to iterate over all files in a directory or list of directories. Within the while loop you can then process each file found.
A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
My blog: Imperial Deltronics