Grokbase Groups Perl moose
FAQ

Search Discussions

708 discussions - 2,875 posts

  • 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 MacdonaldJohn 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 MacdonaldJohn 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 MoseleyBill 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 MacdonaldJohn 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 MoseleyBill 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 MacdonaldJohn 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 MacdonaldJohn 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 DurandJean-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 JeriusDiab 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 ShekhawatManoj 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 MacdonaldJohn 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 okitaTsuyoshi 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 RyanThalhammer, 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 MacdonaldJohn 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 RyanThalhammer, 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 RyanThalhammer, 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 HarrisRichard 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" PoeCurtis "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 EdwardsBen 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 CeccarelliGianni 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 SignesRicardo 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 SignesRicardo 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 EtheridgeKaren 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 CITravis 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 CITravis 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 CITravis 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 CITravis 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 CITravis 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 CITravis 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 CITravis 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 CITravis 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 CITravis 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 CITravis 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 CITravis 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 CITravis 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 CITravis 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 CITravis 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 CITravis 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 CITravis 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 CITravis CI
    Oct 20, 2013 at 8:11 pm
    Oct 20, 2013 at 8:11 pm
  • Build Update for moose/Moose ------------------------------------- Build: #381 Status: Still Failing Duration: 20 minutes and 16 seconds Commit: 7631d26 (master) Author: Upasana Shukla Message: Fixed ...
    Travis CITravis CI
    Oct 20, 2013 at 8:00 pm
    Oct 20, 2013 at 8:00 pm
  • Build Update for moose/Moose ------------------------------------- Build: #379 Status: Errored Duration: 22 minutes and 29 seconds Commit: 787bb6e (master) Author: Jesse Luehrs Message: move this to ...
    Travis CITravis CI
    Oct 20, 2013 at 7:39 pm
    Oct 20, 2013 at 7:39 pm
  • Build Update for moose/Moose ------------------------------------- Build: #378 Status: Broken Duration: 19 minutes and 31 seconds Commit: 7182916 (master) Author: Jesse Luehrs Message: die if a role ...
    Travis CITravis CI
    Oct 20, 2013 at 7:26 pm
    Oct 20, 2013 at 7:26 pm
  • Build Update for moose/Moose ------------------------------------- Build: #377 Status: Broken Duration: 21 minutes and 27 seconds Commit: c8dcfd0 (master) Author: Karen Etheridge Message: changelog ...
    Travis CITravis CI
    Oct 20, 2013 at 7:13 pm
    Oct 20, 2013 at 7:13 pm
  • Build Update for moose/Moose ------------------------------------- Build: #376 Status: Failed Duration: 19 minutes and 4 seconds Commit: c8dcfd0 (2.1101) Author: Karen Etheridge Message: changelog ...
    Travis CITravis CI
    Oct 20, 2013 at 6:57 pm
    Oct 20, 2013 at 6:57 pm
  • Build Update for moose/Moose ------------------------------------- Build: #375 Status: Still Failing Duration: 21 minutes and 48 seconds Commit: c8dcfd0 (stable/2.12) Author: Karen Etheridge ...
    Travis CITravis CI
    Oct 20, 2013 at 6:48 pm
    Nov 27, 2013 at 5:00 pm
  • Build Update for moose/Moose ------------------------------------- Build: #374 Status: Still Failing Duration: 18 minutes and 38 seconds Commit: a102232 (stable/2.12) Author: Karen Etheridge ...
    Travis CITravis CI
    Oct 20, 2013 at 6:35 pm
    Oct 20, 2013 at 6:35 pm
  • Build Update for moose/Moose ------------------------------------- Build: #373 Status: Still Failing Duration: 17 minutes and 27 seconds Commit: 234736d (stable/2.12) Author: Karen Etheridge ...
    Travis CITravis CI
    Oct 20, 2013 at 6:25 pm
    Oct 20, 2013 at 6:25 pm
  • Anyone have any opinions on a namespace for roles that just do requires()? (and/or maybe do full signatures with an around). Note: currently thinking of using Moo for the actual implementation of ...
    Caleb CushingCaleb Cushing
    Oct 18, 2013 at 7:53 pm
    Nov 6, 2013 at 10:46 am
  • Build Update for moose/Moose ------------------------------------- Build: #368 Status: Fixed Duration: 15 minutes and 50 seconds Commit: 0f3129b (topic/clean-structured-exceptions) Author: Upasana ...
    Travis CITravis CI
    Oct 18, 2013 at 4:48 pm
    Oct 18, 2013 at 4:48 pm
Group Navigation
period‹ prev | Latest | first ›

Top users

Stevan Little: 325 posts Jesse Luehrs: 167 posts Dave Rolsky: 123 posts Hans Dieter Pearcey: 119 posts Chris Prather: 89 posts Karen Etheridge: 84 posts Chris: 67 posts Travis CI: 63 posts Curtis "Ovid" Poe: 60 posts Buddy Burden: 47 posts Bill Moseley: 46 posts Sartak: 44 posts Darren Duncan: 44 posts Yuval Kogman: 39 posts Chris Weyl: 36 posts John Napiorkowski: 35 posts Kate Yoak: 33 posts Nick Perez: 33 posts Evan Carroll: 30 posts Christopher Brown: 29 posts
show more