Skip Menu |
 

This queue is for tickets about the autodie CPAN distribution.

Report information
The Basics
Id: 52427
Status: resolved
Priority: 0/
Queue: autodie

People
Owner: PJF [...] cpan.org
Requestors: NCLEATON [...] cpan.org
Cc:
AdminCc:

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



Subject: exec piped open() fails under autodie
Download (untitled) / with headers
text/plain 466b
The following script works fine under 5.8, 5.10 and prints "foo bar": use strict; use warnings; open my $fh, "-|", 'echo', 'foo', 'bar'; print <$fh>; But add autodie: use strict; use warnings; use autodie; open my $fh, "-|", 'echo', 'foo', 'bar'; print <$fh>; ... and it fails with: Use of uninitialized value $_[0] in join or string at (eval 19) line 120. Internal error: open(, -|, echo, foo, bar): Do not expect to get 5 arguments at (eval 19) line 120.
Download (untitled) / with headers
text/plain 152b
On Fri Dec 04 06:00:02 2009, NCLEATON wrote: Show quoted text
> The following script works fine under 5.8, 5.10 and prints "foo bar":
Oh, and Fatal.pm fails similarly.
Download (untitled) / with headers
text/plain 218b
On Fri Dec 04 06:00:02 2009, NCLEATON wrote: Show quoted text
> The following script works fine under 5.8, 5.10 and prints "foo bar":
Patch available: http://github.com/ncleaton/autodie/commit/2f52250ba5a736f3ec33a3111387212ffe92625e
Download (untitled) / with headers
text/plain 339b
On Fri Dec 11 03:55:06 2009, NCLEATON wrote: Show quoted text
> On Fri Dec 04 06:00:02 2009, NCLEATON wrote:
Show quoted text
> Patch available: > >
http://github.com/ncleaton/autodie/commit/2f52250ba5a736f3ec33a3111387212ffe92625e Patch applied with many thanks and attribution. autodie 2.08 has just been pushed to the CPAN which includes it. Thanks again! Paul


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.