todas as opções
bullseye  ] [  bookworm  ] [  trixie  ] [  forky  ] [  sid  ]
[ Fonte: libexporter-lite-perl  ]

Pacote: libexporter-lite-perl (0.08-1)

Links para libexporter-lite-perl

Screenshot

Recursos de Debian:

Baixe o pacote-fonte libexporter-lite-perl:

Mantenedores(as):

Fontes externas:

Pacotes similares:

lightweight subset of Exporter

Exporter::Lite is an alternative to Exporter, intended to provide a lightweight subset of the most commonly-used functionality. It supports import(), @EXPORT and @EXPORT_OK and not a whole lot else.

Unlike Exporter, it is not necessary to inherit from Exporter::Lite (ie. no @ISA = qw(Exporter::Lite) mantra). Exporter::Lite simply exports its import() function into your namespace. This might be called a "mix-in" or a "role".

Setting up a module to export its variables and functions is simple:

 package My::Module;
 use Exporter::Lite;

 @EXPORT = qw($Foo bar);

Functions and variables listed in the @EXPORT package variable are automatically exported if you use the module and don't explicitly list any imports. Now, when you use My::Module, $Foo and bar() will show up.

Etiquetas: Desenvolvimento de software: Desenvolvimento Perl, Bibliotecas, Implementado em: Perl

Outros pacotes relacionados a libexporter-lite-perl

  • depende
  • recomenda
  • sugere
  • melhora

Download de libexporter-lite-perl

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