SamQi has asked for the wisdom of the Perl Monks concerning the following question:
Okay...I'm moving my question from Q&A to here...
I'm writing a script to test for perl versions.
if(-l File::Find::name)
{ #dosomething with readlink File::Find::name }
However, some of the directories I want to recurse into (most of them are at the top level of the tree I'm recursing)
aren't going to have the symlink structure that I described above. However, inside those directories, there *is* the symlink structure.
I want to be able to just run my script in the directory at the top of the tree and let it recurse thru all the directories I want it to without having to hardcode locally dependant paths into the script.
Any ideas, monks?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Help with File::Find
by ncw (Friar) on Sep 18, 2000 at 23:43 UTC | |
|
Re: Help with File::Find
by merlyn (Sage) on Sep 18, 2000 at 22:15 UTC | |
|
Re: Help with File::Find
by SamQi (Beadle) on Sep 18, 2000 at 22:54 UTC | |
|
Re: Help with File::Find
by SamQi (Beadle) on Sep 18, 2000 at 22:37 UTC | |
by brother ab (Scribe) on Sep 19, 2000 at 16:03 UTC |