Skip Menu |

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

Report information
The Basics
Id: 71107
Status: rejected
Priority: 0/
Queue: File-Path

People
Owner: RICHE [...] cpan.org
Requestors: marcin [...] sacha.pl
Cc:
AdminCc:

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



Subject: bug in File::Path module
Date: Wed, 21 Sep 2011 00:39:35 +0200
To: bug-File-Path [...] rt.cpan.org
From: "Marcin Sacha" <marcin [...] sacha.pl>
Hi, I've discovered a bug in a line #80 in file File/Path.pm. There's an assignment of an array reference to a scalar reference variable: ${$arg->{error}} = [] I fix it with: @{$arg->{error}} = [] but I'm not sure if this is consistent with the rest of the code. Could you confirm? And when can I expect a path for this bug? File ver: 2.04 Perl ver: 5.10.0 System: Linux 2.6.26-2-686 Regards, MJS
This is not an issue and is consistent with the usage. If interested, please see sub _error. On Tue Sep 20 18:29:42 2011, marcin@sacha.pl wrote: Show quoted text
> Hi, > > I've discovered a bug in a line #80 in file File/Path.pm. There's an > assignment of an array > reference to a scalar reference variable: > > ${$arg->{error}} = [] > > I fix it with: > > @{$arg->{error}} = [] > > but I'm not sure if this is consistent with the rest of the code. > Could you confirm? And when can > I expect a path for this bug? > > File ver: 2.04 > Perl ver: 5.10.0 > System: Linux 2.6.26-2-686 > > Regards, > MJS
Rejected as per prior comments