in reply to RE: Re: It does exactly the opposite of what I want it to!
in thread It does exactly the opposite of what I want it to!

First off, I'm in 5.5.3 (5.005_03)...so I can't tweak it.

However, what I want to do is, given the directory structure I posted above I want to follow the following logic:

  1. Parse any perlish files (determined by the shabang line...but this works) in the directory
  2. If there is a symlink to a directory, and the symlink is named "bin" or "current" go look at it, and don't look at any of the other directories.
  3. failing that, look in all the directories. (start at #1 for each, etc, recursing down).

At the moment what it does is give me all the directories I don't want, and doesn't give me the one I do. I need a strategically placed !, but I can't quite figure out where to put it.

  • Comment on RE: RE: Re: It does exactly the opposite of what I want it to!