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: Thanks.

Report information
The Basics
Id: 57850
Status: new
Priority: 0/
Queue: Path-Class

Owner: Nobody in particular
Requestors: robert [...]

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

Subject: bug in remove
Date: Wed, 26 May 2010 11:19:17 +0200
To: bug-Path-Class [...]
From: Róbert Oroszi <robert [...]>
Download (untitled) / with headers
text/plain 374b
Hi i just found a bug in Path::Class. Now remove sub looks like this: sub remove { my $file = shift->stringify; return unlink $file unless -e $file; # Sets $! correctly 1 while unlink $file; return not -e $file; } BUT it cannot remove the file, because "unless -e $file" returns true, so you should change like this: return unlink $file unless !(-e $file); thx

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

Please report any issues with to