http://www.perlmonks.org?node_id=655082


in reply to Re: Collapsing paths
in thread Collapsing paths

I don't think it does, it looks like it removes extraneous slashes, but doesn't collapse ../../ path fragments.