|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: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.