Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the PathTools CPAN distribution.

Report information
The Basics
Id: 13609
Status: rejected
Priority: 0/
Queue: PathTools

Owner: Nobody in particular

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)

Subject: Consider adding collapse() for xx/../yy -> yy transform
Download (untitled) / with headers
text/plain 447b
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. 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.
Download (untitled) / with headers
text/plain 104b
Rejecting this (6 years later), on the grounds that Path::Class has such a thing now, called resolve().

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to