Search Discussions
-
Hello, I'm trying to convert an existing project to Moose 2 (from Moose 1.15). I've run into a tricky issue where the original author of the project (not me!) has overridden part of Moose's private ...
Toby Blake
Mar 15, 2016 at 4:07 pm
Mar 23, 2016 at 11:26 am -
Hi, I see the following when calling $self- meta- add_attribute in my code under perl 5.10.1: Use of uninitialized value in string eq at ...
Shtil
Jan 18, 2016 at 6:26 pm
Jan 19, 2016 at 10:08 pm -
I was wondering if there is a reason this is not how it is implemented. I created a pull request for the change: https://github.com/moose/Moose/pull/114
Kyle Bolton
Jan 15, 2016 at 12:56 am
Jan 15, 2016 at 12:56 am -
I need a bit of help understanding this code in Catalyst used for adding in Plugins: my $meta = Class::MOP::get_metaclass_by_name($class); $meta- superclasses($plugin, $meta- superclasses); This is ...
Bill Moseley
Nov 21, 2015 at 8:07 pm
Dec 2, 2015 at 3:20 am -
https://metacpan.org/pod/MooseX::Declare is nice as an idea to remove boilerplate, but unfortunately it is deprecated. Can you recommend better MooseX module with similar functionality? Tnx in ...
Matija Papec
Sep 21, 2015 at 7:12 pm
Oct 1, 2015 at 7:09 am -
I've translated some code using multiple inheritance to Moo, and am seeing some unexpected behavior, namely that attributes inherited from the second parent class are not properly initialized. I've ...
Diab Jerius
Mar 26, 2015 at 10:24 pm
Mar 28, 2015 at 9:54 am -
Hello, I have the following test code. Here Moose and Moo are not useful so can be commented, but in production code they are needed. use forks; use Moose; use Moo; $SIG{__DIE__} = sub { print ...
Octavian Rasnita
Feb 26, 2015 at 5:26 am
Feb 27, 2015 at 5:28 pm -
Is it possible to define a subtype that will provide a stringify method? I see MooseX::Exception::Base::Stringify that can be provided as a trait for an attribute, but that gets onerous (and ...
John Macdonald
Feb 25, 2015 at 9:45 pm
Feb 25, 2015 at 9:45 pm -
Hi, I have two classes Test1 and Test2, both consuming the role TestRole which uses another class TestGlue, which in turn uses Test1 and Test2 internally. My main program uses Test1 and Test2 and ...
Daniel Hermann
Feb 25, 2015 at 8:31 pm
Feb 26, 2015 at 5:59 pm -
Hi! I've attached some example code which exhibits (to my thinking) an unexpected collision between inheritance and composition. I'm using Moo v. 1.006001. There is a base role (R0) which provides a ...
Diab Jerius
Jan 7, 2015 at 7:19 pm
Jan 9, 2015 at 8:31 pm -
If a role specifies a requires value, that value must be provided in the consuming class. It cannot be provided in a consuming role. It cannot be provided in a separate role that is loaded earlier in ...
John Macdonald
Nov 21, 2014 at 9:32 pm
Nov 22, 2014 at 1:53 pm -
If you have a role and its consumer both specify the same attribute name (neither one using +name) there is no complaint from Moose and the second one encountered is used and the first is ignored. I ...
John Macdonald
Oct 3, 2014 at 9:28 pm
Oct 5, 2014 at 3:39 am -
I'm going to build a request with HTTP::Request::Common and want to use its existing methods (POST, PUT, GET, etc.) I'm curious how to control the error message better when coercing. My class gets an ...
Bill Moseley
Sep 28, 2014 at 8:28 pm
Sep 29, 2014 at 1:14 am -
I want to define a role that will use a type defined by its consumer. Is this possible, and if so, what is the syntax to code it? Here's an example of what I'm trying to achieve: package ...
John Macdonald
Sep 10, 2014 at 6:46 pm
Sep 10, 2014 at 9:23 pm -
Can anyone point me to what they would consider good material to introduce Moose to new users? (That is, in addition to the great documentation.) We are considering providing some small training ...
Bill Moseley
Aug 28, 2014 at 10:07 pm
Aug 29, 2014 at 2:31 pm -
How do you code a subtype definition that forces a coercion to be used? I have: package My::Types; use MooseX::Types -declare = [ qw( A chA nochA ) ]; sub _valid_A { my $val = shift; $val =~ ...
John Macdonald
Aug 21, 2014 at 9:23 pm
Aug 22, 2014 at 1:46 pm -
The error exception: Role 'XXX|YYY|ZZZ' has encountered a class attribute conflict during composition. This is a fatal error and cannot be disambiguated. is not very helpful. Which attribute had the ...
John Macdonald
Aug 21, 2014 at 6:43 pm
Aug 21, 2014 at 6:43 pm -
Hello, I have been working on an IDL to Moose translator, and would like some advice on the implementation style. The framework is: * parse the OMG IDL 3.5 grammar with Marpa * produce an AST of it * ...
Jean-Damien Durand
Jul 24, 2014 at 8:25 pm
Jul 24, 2014 at 8:25 pm -
I'm using Moo and would like to override a default value for a composed attribute after composing the role. This works (with Moose as well): use Moo; package R { use Moo::Role; has a = ( is = 'ro', ...
Diab Jerius
Jul 22, 2014 at 9:17 pm
Jul 30, 2014 at 2:59 pm -
Hi Geeks, Can you please give me proper justification that Moose isn't that slow, many people in my organisation are resisting its usage by just saying that it's slow. I know we can increase it's ...
Manoj Shekhawat
Jun 29, 2014 at 7:45 am
Jul 3, 2014 at 4:07 am -
I had what I thought was a nice clean implementation that factored out the coercion I wanted into a single place (to avoid having to re-write it in many places), but it doesn't seem to be allowed.. ...
John Macdonald
Jun 16, 2014 at 6:41 pm
Jun 16, 2014 at 9:16 pm -
Dear, I am a newbie to Moose. I have been trying to use Moose for Gtk3, and I do not think Moose is happy with Builder. After Moose load ui file, has 'root_window' tries to get main_window object, ...
Tsuyoshi okita
May 13, 2014 at 6:01 am
May 14, 2014 at 6:42 am -
Hello all- Some context: I have a web application with a fair bit of code for validating data (mostly from form fields). Most of that data eventually ends up in attributes of some Moose class, which ...
Thalhammer, Jeffrey Ryan
May 2, 2014 at 7:24 am
May 2, 2014 at 9:09 pm -
With the locally installed version of Moose (2.1404) I get no error or warning if I use the with method but specify an unloaded package as the role name. I had simply omitted the "use My::Role" ...
John Macdonald
Apr 15, 2014 at 9:49 pm
Apr 15, 2014 at 10:52 pm -
Hello again- I have an entire family of foreign classes that I would like to shim or wrap, so that I have another layer of indirection between my app and those classes. The foreign classes all happen ...
Thalhammer, Jeffrey Ryan
Apr 10, 2014 at 1:17 am
Apr 11, 2014 at 12:30 am -
Hi all- I've begun using Roles to declare interfaces -- that is, nothing more than a list of "requires". So let's say I have a Role that requires 15 attributes/methods. In the implementation, I know ...
Thalhammer, Jeffrey Ryan
Apr 10, 2014 at 12:52 am
Apr 15, 2014 at 5:59 am -
Hi, I recently upgraded Moose from 0.98 to 2.0604 and got a deprecation warning for this code (names changed to protect the innocent) subtype 'A', as 'Str', where { $_ eq 'foo' }; subtype 'B', as ...
Richard Harris
Mar 21, 2014 at 12:09 pm
May 15, 2014 at 11:55 am -
I'm sure I missed something in the docs, but I'm trying to use parameterized roles to set up a group of classes that delegate to corresponding classes, but the methods that I'm delegating won't ...
Curtis "Ovid" Poe
Feb 17, 2014 at 7:27 pm
Feb 17, 2014 at 9:01 pm -
Hi, I was wondering if there is a way to use moose to check if an attribute has a value; As background, I am writing a function that, given an object, will loop over that objects attribute, and print ...
Ben Edwards
Feb 6, 2014 at 12:30 pm
Feb 6, 2014 at 1:02 pm -
Hello Moose herders! Karen wrote in http://www.nntp.perl.org/group/perl.moose/2014/01/msg2796.html: Turns out that we just noticed that absence… We have code that wraps exceptions (in our case, ...
Gianni Ceccarelli
Jan 21, 2014 at 12:35 pm
Jan 22, 2014 at 9:50 am -
I just heard that there has been talk of changing the default stringification of Moose exceptions to emulate croak instead of confess. That is: don't include the complete stack trace, only one line ...
Ricardo Signes
Jan 18, 2014 at 4:54 pm
Jan 18, 2014 at 6:14 pm -
A reading from Moose::Manual::Support: As of version 2.00, Moose officially supports being run on perl 5.8.3+. Our current policy is to support the earliest version of Perl shipped in the latest ...
Ricardo Signes
Jan 9, 2014 at 5:02 pm
Jan 12, 2014 at 6:11 pm -
The Moose-2.11xx development series has been out for a few months now, with no major issues reported and all minor issues resolved or being acted on in the other dists that are involved. If no new ...
Karen Etheridge
Dec 12, 2013 at 6:06 pm
Dec 12, 2013 at 6:15 pm -
Build Update for moose/Moose ------------------------------------- Build: #425 Status: Still Failing Duration: 6 minutes and 52 seconds Commit: 752d945 (topic/generate_docs_via_dzil) Author: Upasana ...
Travis CI
Nov 7, 2013 at 7:57 pm
Nov 7, 2013 at 7:57 pm -
Build Update for moose/Moose ------------------------------------- Build: #424 Status: Errored Duration: 5 minutes and 16 seconds Commit: 1ad0676 (test_branch) Author: Karen Etheridge Message ...
Travis CI
Nov 7, 2013 at 6:43 pm
Nov 7, 2013 at 6:43 pm -
Build Update for moose/Moose ------------------------------------- Build: #423 Status: Failed Duration: 6 minutes and 47 seconds Commit: d54539f (topic/generate_docs_via_dzil) Author: Upasana Shukla ...
Travis CI
Nov 7, 2013 at 6:34 pm
Nov 7, 2013 at 6:34 pm -
Build Update for moose/Moose ------------------------------------- Build: #421 Status: Passed Duration: 23 minutes and 31 seconds Commit: 1ad0676 (2.1106) Author: Karen Etheridge Message: changelog ...
Travis CI
Nov 5, 2013 at 7:55 pm
Nov 5, 2013 at 7:55 pm -
Build Update for moose/Moose ------------------------------------- Build: #409 Status: Passed Duration: 18 minutes and 59 seconds Commit: 18d9684 (2.1105) Author: Karen Etheridge Message: changelog ...
Travis CI
Oct 31, 2013 at 5:59 am
Oct 31, 2013 at 5:59 am -
Build Update for moose/Moose ------------------------------------- Build: #404 Status: Passed Duration: 18 minutes and 32 seconds Commit: 79e5f54 (2.1104) Author: Karen Etheridge Message: changelog ...
Travis CI
Oct 30, 2013 at 2:23 am
Oct 30, 2013 at 2:23 am -
Build Update for moose/Moose ------------------------------------- Build: #397 Status: Passed Duration: 15 minutes and 45 seconds Commit: f5db94c (2.1103) Author: Karen Etheridge Message: changelog ...
Travis CI
Oct 26, 2013 at 6:19 am
Oct 26, 2013 at 6:19 am -
Build Update for moose/Moose ------------------------------------- Build: #394 Status: Fixed Duration: 14 minutes and 45 seconds Commit: 44735c4 (stable/2.12) Author: Karen Etheridge Message: bump ...
Travis CI
Oct 26, 2013 at 5:46 am
Oct 26, 2013 at 5:46 am -
Build Update for moose/Moose ------------------------------------- Build: #390 Status: Fixed Duration: 16 minutes and 13 seconds Commit: 6e0adb9 (master) Author: Karen Etheridge Message: bump prereqs ...
Travis CI
Oct 20, 2013 at 10:03 pm
Oct 20, 2013 at 10:03 pm -
Build Update for moose/Moose ------------------------------------- Build: #389 Status: Passed Duration: 19 minutes and 48 seconds Commit: 2daea3b (topic/update_travis) Author: Karen Etheridge ...
Travis CI
Oct 20, 2013 at 9:35 pm
Oct 20, 2013 at 9:35 pm -
Build Update for moose/Moose ------------------------------------- Build: #388 Status: Failed Duration: 21 minutes and 3 seconds Commit: bf88f6b (master) Author: Karen Etheridge Message: changelog ...
Travis CI
Oct 20, 2013 at 9:23 pm
Oct 20, 2013 at 9:23 pm -
Build Update for moose/Moose ------------------------------------- Build: #387 Status: Failed Duration: 18 minutes and 24 seconds Commit: bf88f6b (2.1102) Author: Karen Etheridge Message: changelog ...
Travis CI
Oct 20, 2013 at 9:06 pm
Oct 20, 2013 at 9:06 pm -
Build Update for moose/Moose ------------------------------------- Build: #386 Status: Still Failing Duration: 17 minutes and 20 seconds Commit: bf88f6b (stable/2.12) Author: Karen Etheridge ...
Travis CI
Oct 20, 2013 at 8:54 pm
Oct 20, 2013 at 8:54 pm -
Build Update for moose/Moose ------------------------------------- Build: #385 Status: Still Failing Duration: 18 minutes and 13 seconds Commit: 916db36 (master) Author: Karen Etheridge Message: note ...
Travis CI
Oct 20, 2013 at 8:44 pm
Oct 20, 2013 at 8:44 pm -
Build Update for moose/Moose ------------------------------------- Build: #384 Status: Still Failing Duration: 19 minutes and 40 seconds Commit: 916db36 (stable/2.12) Author: Karen Etheridge ...
Travis CI
Oct 20, 2013 at 8:35 pm
Oct 20, 2013 at 8:35 pm -
Build Update for moose/Moose ------------------------------------- Build: #383 Status: Still Failing Duration: 19 minutes and 34 seconds Commit: 530f118 (stable/2.12) Author: Karen Etheridge ...
Travis CI
Oct 20, 2013 at 8:24 pm
Oct 20, 2013 at 8:24 pm -
Build Update for moose/Moose ------------------------------------- Build: #382 Status: Still Failing Duration: 19 minutes and 17 seconds Commit: 66c5e57 (master) Author: Karen Etheridge Message ...
Travis CI
Oct 20, 2013 at 8:11 pm
Oct 20, 2013 at 8:11 pm
Group Overview
group | moose |
categories | perl |
discussions | 718 |
posts | 2,920 |
users | 326 |
website | iinteractive.com... |
Top users
Archives
- March 2016 (6)
- January 2016 (4)
- November 2015 (3)
- September 2015 (6)
- March 2015 (9)
- February 2015 (10)
- January 2015 (3)
- November 2014 (3)
- October 2014 (6)
- September 2014 (6)
- August 2014 (9)
- July 2014 (9)
- June 2014 (6)
- May 2014 (11)
- April 2014 (19)
- March 2014 (2)
- February 2014 (5)
- January 2014 (13)
- December 2013 (2)
- November 2013 (13)
- October 2013 (38)
- September 2013 (35)
- August 2013 (6)
- July 2013 (8)
- June 2013 (42)
- May 2013 (5)
- April 2013 (12)
- March 2013 (43)
- February 2013 (22)
- January 2013 (6)
- December 2012 (6)
- October 2012 (44)
- September 2012 (19)
- August 2012 (5)
- July 2012 (6)
- May 2012 (15)
- April 2012 (17)
- March 2012 (19)
- February 2012 (29)
- January 2012 (40)
- December 2011 (44)
- November 2011 (13)
- October 2011 (33)
- September 2011 (33)
- August 2011 (17)
- July 2011 (23)
- June 2011 (42)
- May 2011 (6)
- April 2011 (13)
- March 2011 (28)
- February 2011 (15)
- January 2011 (53)
- December 2010 (32)
- November 2010 (19)
- October 2010 (91)
- September 2010 (41)
- August 2010 (14)
- July 2010 (65)
- June 2010 (109)
- May 2010 (103)
- April 2010 (95)
- March 2010 (57)
- February 2010 (54)
- January 2010 (63)
- December 2009 (34)
- November 2009 (117)
- October 2009 (40)
- September 2009 (88)
- August 2009 (62)
- July 2009 (77)
- June 2009 (54)
- May 2009 (51)
- April 2009 (130)
- March 2009 (44)
- February 2009 (67)
- January 2009 (80)
- December 2008 (30)
- November 2008 (24)
- October 2008 (31)
- September 2008 (57)
- August 2008 (16)
- July 2008 (41)
- June 2008 (35)
- May 2008 (38)
- April 2008 (42)
- March 2008 (17)
- February 2008 (32)
- January 2008 (18)
- August 2007 (2)
- July 2007 (2)
- June 2007 (9)
- May 2007 (5)
- November 2006 (35)
- September 2006 (3)
- August 2006 (9)