Paquet : libexporter-lite-perl (0.08-1)
Liens pour libexporter-lite-perl
Ressources Debian :
- Rapports de bogues
- Developer Information
- Journal des modifications Debian
- Fichier de licence
- Suivis des correctifs pour Debian
Télécharger le paquet source libexporter-lite-perl :
- [libexporter-lite-perl_0.08-1.dsc]
- [libexporter-lite-perl_0.08.orig.tar.gz]
- [libexporter-lite-perl_0.08-1.debian.tar.xz]
Responsables :
- Debian Perl Group (Page QA, Archive du courrier électronique)
- Ansgar Burchardt (Page QA)
- Florian Schlichting (Page QA)
Ressources externes :
- Page d'accueil [metacpan.org]
Paquets similaires :
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.
Autres paquets associés à libexporter-lite-perl
|
|
|
|
-
- dep: perl
- langage de rapports et d'extractions pratiques de Larry Wall
Télécharger libexporter-lite-perl
Architecture | Taille du paquet | Espace occupé une fois installé | Fichiers |
---|---|---|---|
all | 10,8 ko | 27,0 ko | [liste des fichiers] |