Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Replacement for MooseX::Declare?

7 views
Skip to first unread message

Jean-Damien Durand

unread,
Sep 21, 2015, 3:30:01 PM9/21/15
to mo...@perl.org
Hello,
I enjoyed using Moops.
HTH, Jean-Damien.

Le lundi 21 septembre 2015, 21:12:07 Matija Papec a écrit :
>
> 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 advance.
>

Matija Papec

unread,
Sep 21, 2015, 3:30:01 PM9/21/15
to mo...@perl.org

Matija Papec

unread,
Sep 21, 2015, 3:45:01 PM9/21/15
to mo...@perl.org
Hello,

it says that "Support for using Function::Parameters to handle method signatures is likely to be dropped"

https://metacpan.org/pod/Moops#Planned-Changes

Does this means that I have to use

method change_job {
my ( $employer,$title ) = @_;
}

instead of

method change_job ( Object $employer, Str $title ) { }

?

21.09.2015, 21:15, "Jean-Damien Durand" <jeandami...@free.fr>:

Jean-Damien Durand

unread,
Sep 21, 2015, 4:00:01 PM9/21/15
to mo...@perl.org
If Toby or other Moops's knowledgable people can answer to this question, great - I cannot -;

rhesa

unread,
Sep 22, 2015, 8:45:02 AM9/22/15
to mo...@perl.org
Moops uses Kavorka by default, which is pretty awesome by itself. I'd
not worry about F::P.

rhesa

Buddy Burden

unread,
Sep 29, 2015, 6:15:02 AM9/29/15
to Matija Papec, mo...@perl.org
Matija,

> it says that "Support for using Function::Parameters to handle method signatures is likely to be dropped"
>
> https://metacpan.org/pod/Moops#Planned-Changes
>
> Does this means that I have to use
>
> method change_job {
> my ( $employer,$title ) = @_;
> }
>
> instead of
>
> method change_job ( Object $employer, Str $title ) { }
>
> ?

No. It means that you won't be able to use the :fp attribute for a
class any more (to use Function::Parameters rather than Kavorka). But
you don't want to use that anyway. :-)


-- Buddy

Matija Papec

unread,
Oct 1, 2015, 3:15:01 AM10/1/15
to Buddy Burden, mo...@perl.org

Tnx for the reply, I also figured that later. :)




29.09.2015, 12:06, "Buddy Burden" <barefo...@gmail.com>:
0 new messages