No, it's the canonical answer to a more common question that resembles this one. This one only wants to check the components of the path of the current working directory, between a higher level and the current depth.
The PerlMonk tr/// Advocate
Comment on Re: Re: Checking subdirectories in a given path