Re: Replacement for MooseX::Declare?

[email protected] (Buddy Burden) Tue, 29 Sep 2015 03:05:55 -0700
Newsgroups perl.moose
Message-ID <[email protected]>
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