Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Readonly CPAN distribution.

Report information
The Basics
Id: 64814
Status: new
Priority: 0/
Queue: Readonly

People
Owner: Nobody in particular
Requestors: haukex [...] zero-g.net
Cc:
AdminCc:

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



Subject: Re: Readonly variable doesn't work with piped open
Date: Sun, 16 Jan 2011 00:52:29 +0100 (CET)
To: bug-Readonly [...] rt.cpan.org
From: Hauke D <haukex [...] zero-g.net>
Hello, Update: Apologies - now with attachment! Also, this is concerning Readonly version 1.03 (and Readonly::XS 1.05). Please find attached some test code that shows an apparent bug that causes the following code to fail: Readonly my $PROG => '/bin/cat'; open my $fh, '|-', $PROG or die $!; with the following errors: Missing command in piped open at ./bug_Readonly.pl line 20. Broken pipe at ./bug_Readonly.pl line 20. This seems to be related to this bug: https://rt.cpan.org/Public/Bug/Display.html?id=63234 but I've also found some strange cases (like using Readonly::Scalar or doing "-e $PROG" before the "open") that might help... Perl version information is also in the attached file (in short: Perl 5.10.1 on Ubuntu 10.04 64-bit). I also have Readonly::XS installed. Thanks, -- Hauke D

Message body is not shown because sender requested not to inline it.