Skip Menu |

This queue is for tickets about the PathTools CPAN distribution.

Report information
The Basics
Id: 11450
Status: resolved
Priority: 0/
Queue: PathTools

People
Owner: Nobody in particular
Requestors: william [...] knowmad.com
Cc:
AdminCc:

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



Subject: Warnings due to undefined values
Hi Ken, I'm not sure if this is an error in PathTools or Apache::Test or perhaps one of my tests. However, the error message is coming from PathTools so I'll start here. I'm using v3.01 under ActiveState Perl v5.8.3 on WinXP. Here is the output in the error log: [Thu Feb 10 02:13:19 2005] -e: Use of uninitialized value in transliteration (tr///) at C:/Perl/site/lib/File/Spec/Win32.pm line 99. [Thu Feb 10 02:13:19 2005] -e: Use of uninitialized value in pattern match (m//) at C:/Perl/site/lib/File/Spec/Win32.pm line 101. It appears that @args contains an undefined item as simply adding the following line avoids the error: $_ = '' unless defined $_; Should this be handled by File::Spec::Win32 or is it up to the calling code? Any ideas of how to debug this (as you know, catdir is called a lot in the A::T distribution)? Thanks, William
From: jkeenan [...] cpan.org
On Thu Feb 10 02:22:02 2005, guest wrote: Show quoted text
> Hi Ken, > > I'm not sure if this is an error in PathTools or Apache::Test or > perhaps one of my tests. However, the error message is coming from > PathTools so I'll start here. I'm using v3.01 under ActiveState > Perl v5.8.3 on WinXP. > > Here is the output in the error log: > > [Thu Feb 10 02:13:19 2005] -e: Use of uninitialized value in > transliteration (tr///) at C:/Perl/site/lib/File/Spec/Win32.pm line > 99. > [Thu Feb 10 02:13:19 2005] -e: Use of uninitialized value in pattern > match (m//) at C:/Perl/site/lib/File/Spec/Win32.pm line 101. > > It appears that @args contains an undefined item as simply adding the > following line avoids the error: > > $_ = '' unless defined $_; >
I'm sorry that no one has previously responded to you. I cannot locate any instance of 'args' in File::Spec::Win32 (PathTools-3.33). It is likely that the code in this file has changed around quite a bit since you filed this report nearly seven years ago. Are you still experiencing the problem? Thank you very much. Jim Keenan
Subject: Re: [rt.cpan.org #11450] Warnings due to undefined values
Date: Thu, 08 Dec 2011 15:31:45 -0500
To: bug-PathTools [...] rt.cpan.org
From: William McKee <william [...] knowmad.com>
Thanks for following up Jim. It's been a long time since I've used Perl under Windows so am no longer impacted by this bug report. You can close it out. On 12/07/2011 10:02 PM, James E Keenan via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=11450> > > On Thu Feb 10 02:22:02 2005, guest wrote:
>> Hi Ken, >> >> I'm not sure if this is an error in PathTools or Apache::Test or >> perhaps one of my tests. However, the error message is coming from >> PathTools so I'll start here. I'm using v3.01 under ActiveState >> Perl v5.8.3 on WinXP. >> >> Here is the output in the error log: >> >> [Thu Feb 10 02:13:19 2005] -e: Use of uninitialized value in >> transliteration (tr///) at C:/Perl/site/lib/File/Spec/Win32.pm line >> 99. >> [Thu Feb 10 02:13:19 2005] -e: Use of uninitialized value in pattern >> match (m//) at C:/Perl/site/lib/File/Spec/Win32.pm line 101. >> >> It appears that @args contains an undefined item as simply adding the >> following line avoids the error: >> >> $_ = '' unless defined $_; >>
> I'm sorry that no one has previously responded to you. I cannot locate > any instance of 'args' in File::Spec::Win32 (PathTools-3.33). It is > likely that the code in this file has changed around quite a bit since > you filed this report nearly seven years ago. > > Are you still experiencing the problem? > > Thank you very much. > Jim Keenan
-- Knowmad - Web Strategy, Design& Marketing W: http://www.knowmad.com | E: william@knowmad.com | P: 704.343.9330