Perrin Harkins <[EMAIL PROTECTED]> said something to this effect on 10/29/2001:
> > return [
> > sort { length $b <=> length $a } # reverse sorted by length
> > grep { ++$uniq{$_} == 1 } # (unique directories only)
> > map { push @dir, $_; "/@dir"; } # a growing list of dirs
> > ($f =~ m:([^/]+)/:og) # gathered from the current
> > ]; # translated filename
>
> File::Spec has some handy methods for this kind of thing, which have the
> added benefit of being platform-independent.
I'll have to look into that; I'm not sure.
> Doesn't Apache::Template do this too?
I submitted a patch a few weeks (months?) back that added that
fucntionality.
(darren)
--
Westheimer's Discovery: A couple of months in the laboratory can save a
couple of hours in the library.
-- Frank H. Westheimer