todas as opções
bianca  ]
[ Fonte: libmoosex-singlearg-perl  ]

Pacote: libmoosex-singlearg-perl (0.09-2)

Links para libmoosex-singlearg-perl

Screenshot

Baixe o pacote-fonte libmoosex-singlearg-perl:

Mantenedores(as):

Fontes externas:

Pacotes similares:

module to instantiate Moose objects using a single argument

MooseX::SingleArg allows Moose instances to be constructed with a single argument. Your class or role must use this module and then use the single_arg method to declare which attribute will be assigned the single argument value.

If the class is constructed using the typical argument list name/value pairs, or with a hashref, then things work as is usual. But, if the arguments are a single non-hashref value then that argument will be assigned to whatever attribute you have declared.

Outros pacotes relacionados a libmoosex-singlearg-perl

  • depende
  • recomenda
  • sugere
  • melhora

Download de libmoosex-singlearg-perl

Baixe para todas as arquiteturas disponíveis
Arquitetura Tamanho do pacote Tamanho instalado Arquivos
all 8.5 kB29.0 kB [lista de arquivos]