Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
perl . moose
This is a Usenet group - learn more
Find or start a Google Group about moose.
Group info
Group categories: Not categorized
More group info »
Discussions
View:  Topic list, Topic summary « Newer  Topics 11 - 20 of 583  Older »
Description: moose@perl.org (Moderated)
 

Patch/Enhancement request for the Native Types infrastructure to make it easier to add externally defined things that work the same way. 
  I was trying to work and create a new Native Type using the existing base libraries in Moose for Native Types ( esp with regard to delegate handles without needing the actual parameter being a bless() or tie() ), and hit a few bumps that made it slightly difficult to use without resorting to duplicating the entirety of... more »
By Kent Fredric  - Mar 27 - 1 new of 1 message    

Role1 with attribute matches requires on Role2 
  Hi, I keep getting bitten by this, and I was wondering if this is something that will be solved eventually, or its something that would be nice to solve but it is actually tricky to do, or just that I'm doing it wrong. I have two roles, R1 and R2. R1 defines a attribute ctx. R2 requires a 'ctx'.... more »
By Pedro Melo  - Mar 1 - 4 new of 4 messages    

MooX::late Problem: Undefined slot 
  Hi all, Using this program that uses [link] , I am getting this when running it: <<<< shlomif@telaviv1:~$ perl Test.pl rng_schema_basename is undefined at Test.pl line 41. shlomif@telaviv1:~$ ... And I wonder why. It should work as it is. Any insight would be appreciated. I... more »
By Shlomi Fish  - Feb 21 - 1 new of 1 message    

Moo and Moose together with Throwable::Error. 
  I'm curious how Moo and Moose play together. I have some classes that make use of Throwable::Error<[link]>, which uses the StackTrace::Auto role. The problem is StackTrace::Auto builds Devel::StackTrace without the "no_refs" option set, so my objects... more »
By Bill Moseley  - Feb 20 - 4 new of 4 messages    

union isn't finding the types 
  the code, use Class::Load 0.20 'load_class'; use Moose::Role; ... ... has _log => ( isa => 'Log::Any::Adapter::Base | Log::Any::Adapter::Null', is => 'ro', lazy => 1, default => sub { load_class('Log::Any')->get_lo gger }, ); attached is the the stack trace, what about unions do I not... more »
By Caleb Cushing  - Feb 18 - 3 new of 3 messages    

BUILD called twice. 
  Hi all, I had a problem that I tracked down to BUILD getting run twice. It turned out a subclass was (incorrectly) using "after 'BUILD'". When that happens the BUILD in the base class runs twice. I realize it's an improper use of BUILD but just wanted to note it in case it's not an expected behavior.... more »
By Bill Moseley  - Feb 14 - 10 new of 10 messages    

UML for a Role 
  Hi there. I'm new at mo...@perl.org and just like to know how you use to represent a Moose::Role in a UML diagram? Just like an ordinary class and <<type>>? ______________________________ __________ Thiago Glauco Sanchez Tec. Telecom. Pl. - Petrobras SA ITIL, MCSO, ECS ( Routing, Wireless, Switching )... more »
By thiagogla...@petrobras.com.br  - Jan 10 - 3 new of 3 messages    

moose and pod 
  Hi! I am new to the list and also still new to Moose. I wonder how exactly to document my Moose classes. I am sure you discussed this before, but I couldn't find much on the list archive. Perhaps it's time to add something on this matter to the documentation. Perhaps in Best Practices. Or elsewhere in Manual. Perhaps I am also missing something. Please point me... more »
By Maurice Mengel  - Dec 18 2012 - 5 new of 5 messages    

detecting primary types 
  Is there a way to tell if a moose attribute type is a primary type? For example, I want to tell the difference between an attribute that is a Str and an attribute that is some type of reference.
By Jeff Benton  - Oct 26 2012 - 2 new of 2 messages    

Wrapping a method of an instance 
  I need some help with understanding the Class::MOP::Method docs. Can I use that to apply a modifier? Catalyst used to call $c->prepare_body_chunk which made it easy for a plugin or role to track upload progress. Now, this all happens in a loop in the Catalyst::Request instance in its prepare_body() method.... more »
By Bill Moseley  - Oct 17 2012 - 3 new of 3 messages    

11 - 20 of 583   « Newer | Older »

XML