Subject: | Consider adding collapse() for xx/../yy -> yy transform |
Consider adding a public method which performs the tricky xx/../yy -> yy transform. This allows canonpath() to remain pure and not guess if its safe or desirable to do this (Win32->canonpath currently collapses ..). Let the user decide what they want.
rt.perl.org 27052 already contains a patch which adds collapse as a private method. All that would be required is to make it public and document it. And probably also think of a better name.