Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Trouble with File::Find::Rule

by 2teez (Priest)
on Dec 12, 2013 at 21:42 UTC ( #1066925=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1066925]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2017-10-17 00:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (217 votes). Check out past polls.

    Notices?