Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

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 (|)
Download (untitled) / with headers
text/plain 279b
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?)


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.