in reply to Trouble with File::Find::Rule

Also note that it would be good practice not to hardcore your directories or file names into your script. It may be counter productive later.
Imagine, you later now have to check directories more than 2, with names not as straight forward as you have it.
Just saying.. :)

If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me

Replies are listed 'Best First'.
Re^2: Trouble with File::Find::Rule
by sowais (Sexton) on Dec 13, 2013 at 14:41 UTC
    2teez, I agree with you thats why I was using the hardcoded directories for testing purposes. In the actual implementation I will be passing the diretories to my script via the application that will execute it.