Skip Menu |

This queue is for tickets about the MooseX-Privacy CPAN distribution.

Report information
The Basics
Id: 58330
Status: resolved
Priority: 0/
Queue: MooseX-Privacy

People
Owner: Nobody in particular
Requestors: lamoz [...] adriver.ru
Cc:
AdminCc:

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



Subject: Privacy fails on private rw attributes
Moose 1.07 perl 5.8.8 x86_64-linux-thread-multi read-only attributes with trait 'Private' can be read by foreign classes. Code to reproduce problem: <snip> { package Foo; use Moose; use MooseX::Privacy; has foo => ( is => 'ro', isa => 'Str', traits => [qw/ Private /], ); } my $o = Foo->new( foo => 'BooM!' ); print $o->foo </snip> The code survives and prints 'BooM!'
resolved in 0.02 thanks