MooseX::NonMoose for Roles?

2011-01-28 Thread Zbigniew Lukasiak
Are there any sane options for building Moose::Roles out of Non Moose classes? Or maybe it is trivial? -- Zbigniew Lukasiak http://brudnopis.blogspot.com/ http://perlalchemy.blogspot.com/

Re: MooseX::NonMoose for Roles?

2011-01-28 Thread Zbigniew Lukasiak
On Fri, Jan 28, 2011 at 9:31 PM, Hans Dieter Pearcey h...@pobox.com wrote: On Fri, 28 Jan 2011 21:29:04 +0100, Zbigniew Lukasiak zzb...@gmail.com wrote: Are there any sane options for building Moose::Roles out of Non Moose classes? building roles out of classes is like building tires out

Re: MooseX::NonMoose for Roles?

2011-01-28 Thread Zbigniew Lukasiak
On Fri, Jan 28, 2011 at 10:25 PM, Chris Prather ch...@prather.org wrote: On Fri, Jan 28, 2011 at 4:13 PM, Stevan Little stevan.lit...@iinteractive.com wrote: On Jan 28, 2011, at 4:06 PM, Zbigniew Lukasiak wrote: On Fri, Jan 28, 2011 at 9:35 PM, Karen Etheridge p...@froods.org wrote: On Fri

Re: Summary: MooseX::SimpleConfig, MooseX::Getopt, MooseX::Attribute::ENV

2010-10-11 Thread Zbigniew Lukasiak
2010/10/11 Poul H. Sørensen p...@basefarm.no: On 10/10/10 23:32, Jesse Luehrs wrote: On Sun, Oct 10, 2010 at 10:00:17PM +0200, Poul H. Sørensen wrote: Hi I'm trying to make a perl-module, where (some of) the attributes can be set by merging several configuration files, but I can't get it

Re: Moose::Cookbook::Meta::Recipe3 - Labels implemented via attribute traits

2010-04-29 Thread Zbigniew Lukasiak
Thanks. This worked after I changed meta_attribute_alias to meta_class_alias. Cheers, On 4/28/10, Jesse Luehrs d...@tozt.net wrote: On Wed, Apr 28, 2010 at 12:59:21PM +0100, Zbigniew Lukasiak wrote: Hi there, The recipe in http://search.cpan.org/~flora/Moose-1.01/lib/Moose/Cookbook/Meta

Re: Method modifiers for class methods.

2010-04-25 Thread Zbigniew Lukasiak
On Sun, Apr 25, 2010 at 9:40 PM, Stevan Little stevan.lit...@iinteractive.com wrote: Try it and see. I did try it already - and it worked. I just wanted to be assured that it is intended to work. -- Zbigniew

Method metadata (from code attributes)

2010-01-26 Thread Zbigniew Lukasiak
but with no success. -- Zbigniew Lukasiak http://brudnopis.blogspot.com/ http://perlalchemy.blogspot.com/

Re: Types and Constraints

2009-04-30 Thread Zbigniew Lukasiak
that value at another point in it - because in the meantime it can become a DateInThePast. I understand that for most usage this is just splitting hairs. -- Zbigniew Lukasiak http://brudnopis.blogspot.com/ http://perlalchemy.blogspot.com/

Re: Types and Constraints

2009-04-30 Thread Zbigniew Lukasiak
be even better in supporting my thesis that dropping Type in TypeConstraints is what is really needed. -- Zbigniew Lukasiak http://brudnopis.blogspot.com/ http://perlalchemy.blogspot.com/

Types and Constraints

2009-04-29 Thread Zbigniew Lukasiak
solution - I just want to know if there is a consensus that it is OK to write Moose types like DateInThePast. Zbigniew Lukasiak http://brudnopis.blogspot.com/ http://perlalchemy.blogspot.com/

Re: Types and Constraints

2009-04-29 Thread Zbigniew Lukasiak
, Zbigniew Lukasiak wrote: It seems that in the Moose terminology a Type is just a constraint with a name. This is different from other languages where the type of a value does not change in time or in relation to the whole system. You can copy the value and be sure that the copy has the same type

Re: Multiple roles exporting the same method - for something like plugins

2009-04-14 Thread Zbigniew Lukasiak
On Tue, Apr 14, 2009 at 1:21 PM, Piotr Roszatycki piotr.roszaty...@gmail.com wrote: 2009/4/14 Zbigniew Lukasiak zzb...@gmail.com: I guess this might be a very basic question - but I could not find anything suitable in the docs - so I want a way to add multiple 'validate' methods to a form

MooseX::Getopt and 'required'

2009-03-24 Thread Zbigniew Lukasiak
? -- Zbigniew Lukasiak http://brudnopis.blogspot.com/ http://perlalchemy.blogspot.com/