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: 18110
Status: resolved
Worked: 30 min
Priority: 0/
Queue: Readonly

People
Owner: Nobody in particular
Requestors: RMBarker [...] cpan.org
Cc:
AdminCc:

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



Subject: Readonly numeric value appear as string to bitwise or (|)
I found Show quoted text
>perl -MReadonly -we "Readonly my $A => 8; Readonly my $B => 2; print
$A | $B;" : Instead, Show quoted text
>perl -we "my $A = 8; my $B = 2; print $A | $B;"
10 whereas Show quoted text
>perl -we "my $A = '8'; my $B = '2'; print $A | $B;"
: I don't have a fix. Workaround: don't use Readonly!? Robin
This is bug in perl 5.8 and is fixed in perl 5.9.4 (patch 26192?)