Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Mouse CPAN distribution.

Report information
The Basics
Id: 75093
Status: resolved
Priority: 0/
Queue: Mouse

Owner: Nobody in particular
Requestors: ACCA [...]

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

Subject: Reference is already weak at Mouse/Meta/Role/ line 83.
Date: Fri, 17 Feb 2012 06:45:42 -0500
To: bug-mouse [...]
From: Alexander <acca [...]>
Download (untitled) / with headers
text/plain 464b
while using weak reference attributes, applying a role to an instance produces the warning: Reference is already weak at [...]/Mouse/Meta/Role/ line 83. Please see the snippet below. With ANY_MOOSE=Moose the code is silent. package A; use Any::Moose; package B; use Any::Moose; has 'root' => (is => 'ro', weak_ref => 1); package C; use Mouse::Role; package main; my $a = new A; my $b= new B(root => $a); C->meta->apply($b);
Thanks. Fixed in 0.99. -- Goro Fuji (gfx) GFUJI at

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to