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: 61752
Status: resolved
Priority: 0/
Queue: Path-Class

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

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



Subject: Path::Class::Dir->resolve fails
~> perl -MPath::Class -E 'say dir("/foo//baz/../foo")->resolve' Can't use an undefined value as a HASH reference at /home/graf/perl5/lib/perl5/Path/Class/Entity.pm line 68.
In the meantime I learned, that resolve() requires the path to actually exist. The error is confusing though.
Thanks Bernhard. It looks like you actually want cleanup() rather than resolve(). I agree that the error message is confusing, I'll clean that up.