Skip Menu |

This queue is for tickets about the Win32-Process-Info CPAN distribution.

Report information
The Basics
Id: 65395
Status: resolved
Priority: 0/
Queue: Win32-Process-Info

People
Owner: Nobody in particular
Requestors: didroe [...] gmail.com
Cc:
AdminCc:

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

Attachments


Subject: Uninitialized value warning under Cygwin
I'm getting an uninitialized value warning on line 109 under Cygwin. This line is: my @path = split ';', $ENV{Path}; I guess the environment variables are case sensitive under Cygwin. I'm not sure it will work even if it picked up the path because in Cygwin it will be separated with a colon, not a semi-colon. The bits of the package I'm using seem to work fine despite the warning.
On Thu Feb 03 06:46:55 2011, https://www.google.com/accounts/o8/id?id=AItOawlfvIFTiTftA3oEbsQOz9wsWfV2MqKzSbU wrote: Show quoted text
> I'm getting an uninitialized value warning on line 109 under Cygwin. > This line is: > my @path = split ';', $ENV{Path}; > > I guess the environment variables are case sensitive under Cygwin. I'm > not sure it will work even if it picked up the path because in Cygwin it > will be separated with a colon, not a semi-colon. > > The bits of the package I'm using seem to work fine despite the warning.
Thank you very much. I have been Windows-less for some time, so my Win32 modules do not get much loving. I have attached Win32-Process-Info version 1.016_01. All I have done to it is to replace the offending line with a call to File::Spec->path(), which _ought_ to work anywhere. The line endings in the attached version are Unix-style. Would you be good enough to try this version and let me know if it works? Or especially if it does not. If it is convenient for you to try it also under just plain Windows I would appreciate it, but that's really not your problem. I have uploaded 1.016_01 to CPAN, so that the CPAN testers will munch on it, and hopefully I'll get some Win32 feedback from them. Thanks again, Tom
Subject: Win32-Process-Info-1.016_01.tar.gz

Message body not shown because it is not plain text.

On Thu Feb 03 14:11:23 2011, WYANT wrote: Show quoted text
> On Thu Feb 03 06:46:55 2011, >
https://www.google.com/accounts/o8/id?id=AItOawlfvIFTiTftA3oEbsQOz9wsWfV2MqKzSbU Show quoted text
> wrote:
> > I'm getting an uninitialized value warning on line 109 under Cygwin. > > This line is: > > my @path = split ';', $ENV{Path}; > > > > I guess the environment variables are case sensitive under Cygwin.
> I'm
> > not sure it will work even if it picked up the path because in
> Cygwin it
> > will be separated with a colon, not a semi-colon. > > > > The bits of the package I'm using seem to work fine despite the
> warning. > > Thank you very much. I have been Windows-less for some time, so my > Win32 > modules do not get much loving. > > I have attached Win32-Process-Info version 1.016_01. All I have done > to > it is to replace the offending line with a call to File::Spec->path(), > which _ought_ to work anywhere. The line endings in the attached > version > are Unix-style. > > Would you be good enough to try this version and let me know if it > works? Or especially if it does not. > > If it is convenient for you to try it also under just plain Windows I > would appreciate it, but that's really not your problem. I have > uploaded > 1.016_01 to CPAN, so that the CPAN testers will munch on it, and > hopefully I'll get some Win32 feedback from them. > > Thanks again, > Tom
Absent a response to the above, and given clean Win32 (Cygwin) tests from the CPAN testers, I am going to mark this ticket resolved.