Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: Trouble with File::Find::Rule

by 2teez (Vicar)
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?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2018-04-23 06:02 GMT
Find Nodes?
    Voting Booth?