On Jun 17, 2010, at 7:54 PM, Kate Yoak wrote:
I would be interested to see an example of how you would use
augment and inner with roles. I could never picture a way to do it
in which it didn't seem overly confusing, but I am always willing
to admit to my own lack of imagination :)
- Steva
>
> I would be interested to see an example of how you would use augment and
> inner with roles. I could never picture a way to do it in which it didn't
> seem overly confusing, but I am always willing to admit to my own lack of
> imagination :)
>
> - Stevan
>
Cool! I like imaginative. I'l
On Jun 17, 2010, at 6:51 PM, Kate Yoak wrote:
I finally found a good place to play with inner() and augment.
How come inner() is called as a local subroutine instead of an
object method? It stands out as a sore thumb and is making me itchy!
Because inner, like super, has, extends, with, req
>> I finally found a good place to play with inner() and augment. How come
>> inner() is called as a local subroutine instead of an object method? It
>> stands out as a sore thumb and is making me itchy!
>>
> Because inner, like super, has, extends, with, requires, augment, before,
> around,
Hi all,
On Thursday 17 Jun 2010 04:18:17 Stevan Little wrote:
> On Jun 16, 2010, at 7:14 PM, Kate Yoak wrote:
> > On Jun 16, 2010, at 3:57 PM, Karen Etheridge wrote:
> >> On Wed, Jun 16, 2010 at 03:28:20PM -0700, Kate Yoak wrote:
> >>> I normally do so as early as possible so I could start using
>
On Jun 16, 2010, at 7:14 PM, Kate Yoak wrote:
On Jun 16, 2010, at 3:57 PM, Karen Etheridge wrote:
On Wed, Jun 16, 2010 at 03:28:20PM -0700, Kate Yoak wrote:
I normally do so as early as possible so I could start using
things like Error.pm - and prefer not writing and "real code" with
Moo
On Jun 16, 2010, at 3:57 PM, Karen Etheridge wrote:
> On Wed, Jun 16, 2010 at 03:28:20PM -0700, Kate Yoak wrote:
>> I normally do so as early as possible so I could start using things like
>> Error.pm - and prefer not writing and "real code" with Moose namespace still
>> on.
>
> Another orthog
On Wed, Jun 16, 2010 at 03:28:20PM -0700, Kate Yoak wrote:
> I normally do so as early as possible so I could start using things like
> Error.pm - and prefer not writing and "real code" with Moose namespace still
> on.
Another orthogonal comment: Error.pm is evil; don't use it. Try::Tiny or
TryC
On Wed, 16 Jun 2010 15:41:35 -0700
Kate Yoak wrote:
> To avoid the problem, I chose the following principle for module
> layout:
>
> 1. Define attriburtes
> 2. Define method modifiers using named subroutine references
> 3. Deal with anything else that could possibly need Moose keywords
> 4. no M
>>
>
> You don't; all of the keywords that Moose provides are generated by
> Moose::Exporter, so that they are passed the appropriate metaclass
> instance. Just move the 'no Moose' later. I'm not sure what you mean by
> "with the Moose namespace still on".
>
> -doy
Sorry, that was very awkward
(6/16/10 6:28 PM), Kate Yoak wrote:
>>>
>>
>> Because inner, like super, has, extends, with, requires, augment, before,
>> around, after and override, is a "keyword" and not a method.
>>
>>
> Well, that explains a lot. It also makes my life difficult as such a beast
> usually comes up long after
On Wed, Jun 16, 2010 at 03:28:20PM -0700, Kate Yoak wrote:
> >>
> >
> > Because inner, like super, has, extends, with, requires, augment, before,
> > around, after and override, is a "keyword" and not a method.
> >
> >
> Well, that explains a lot. It also makes my life difficult as such a beas
>>
>
> Because inner, like super, has, extends, with, requires, augment, before,
> around, after and override, is a "keyword" and not a method.
>
>
Well, that explains a lot. It also makes my life difficult as such a beast
usually comes up long after I've said no Moose;
I normally do so as
On Jun 15, 2010, at 10:46 PM, Kate Yoak wrote:
Hey guys,
I finally found a good place to play with inner() and augment. How
come inner() is called as a local subroutine instead of an object
method? It stands out as a sore thumb and is making me itchy!
"Curiosity killed the cat" :-)
Bec
Hey guys,
I finally found a good place to play with inner() and augment. How come
inner() is called as a local subroutine instead of an object method? It stands
out as a sore thumb and is making me itchy!
"Curiosity killed the cat" :-)
15 matches
Mail list logo