Skip Menu |

This queue is for tickets about the IPC-Run CPAN distribution.

Report information
The Basics
Id: 57190
Status: resolved
Worked: 1 hour (60 min)
Priority: 0/
Queue: IPC-Run

People
Owner: TODDR [...] cpan.org
Requestors: user42 [...] zip.com.au
Cc:
AdminCc:

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



Subject: perl -w warning if no $PATH env var
Date: Tue, 04 May 2010 11:40:44 +1000
To: bug-IPC-Run [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
With recent debian i386 perl 5.10.1 and IPC::Run 0.89 the program nopath.pl below run as perl -w nopath.pl gets a warning Use of uninitialized value in split at /usr/share/perl5/IPC/Run.pm line 1191. where I hoped that if there's no PATH environment variable set (for whatever strange reason) it would just error out with "not found", which it does after the warning.
use strict; use warnings; use IPC::Run; delete $ENV{'PATH'}; IPC::Run::run (['echo', 'hello']); print "done\n"; exit 0;
Good catch. Will put in a fix this week.
On Wed May 05 09:36:21 2010, TODDR wrote: Show quoted text
> Good catch. Will put in a fix this week.
Fix is in SVN commit 12206. Will be in 0.90 when released.