Walt Mankowski on 3 May 2004 15:07:21 -0000 |
Does anyone know of a module to strip out "../" in a path in an intelligent way? For example, given the following tree: a/ foo b/ c/ bar baz d/ I'd like "d/../c/bar" to expand to "/a/b/c/bar" and "d/../../foo" to expand to "a/foo". File::Spec->rel2abs almost does this, but it doesn't handle ".." Walt Attachment:
signature.asc
|
|