Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Path-Class CPAN distribution.

Maintainer(s)' notes

I prefer that bugs & patches are filed on GitHub rather than on RT: https://github.com/kenahoo/Path-Class/issues. Thanks.

Report information
The Basics
Id: 16446
Status: resolved
Priority: 0/
Queue: Path-Class

People
Owner: Nobody in particular
Requestors: clkao [...] clkao.org
Cc:
AdminCc:

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



Subject: / doesn't subsume /foobar
Path::Class 0.14. perl -MPath::Class -le 'print 1 if dir($ARGV[0])->subsumes($ARGV[1])' / /foobar should print 1 but it doesn't.
Thanks for the report. I've fixed this for at least some OSes, but I'm not completely sure I've covered all the bases. The fix I'm using is: # The root dir subsumes everything return 1 if $self eq ref($self)->new(''); but I'm not sure if that will work in places like MacOS, VMS, etc. I think I'll release the fix and wait for bug reports. -Ken