etch  ] [  etch-m68k  ] [  lenny  ] [  squeeze  ] [  sid  ]
[ Bron: libexporter-lite-perl  ]

Pakket: libexporter-lite-perl (0.02-2)

lightweight subset of Exporter

Exporter::Lite is an alternative to Exporter intended to provide a lightweight subset of its 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. This might be called a "mix-in".

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

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

@EXPORT = qw($Foo bar);

Tags: Softwareontwikkeling: Ontwikkelen in Perl, Bibliotheken, Implemented in: Perl, Role: Shared Library

Andere aan libexporter-lite-perl gerelateerde pakketten

  • depends
  • recommends
  • suggests
  • dep: perl (>= 5.6.0-16)
    Larry Wall's Practische Extractie en Reportage Taal

libexporter-lite-perl downloaden

Pakket downloaden voor alle beschikbare platforms
Platform Pakketgrootte Geïnstalleerde grootte Bestanden
all 8,7 kB60 kB [overzicht]