etch  ] [  etch-m68k  ] [  lenny  ] [  squeeze  ] [  sid  ]
[ 源代码: libexporter-lite-perl  ]

软件包: 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);

标签: Software Development: Perl Development, 链接库, Implemented in: Perl, Role: Shared Library

其它与 libexporter-lite-perl 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: perl (>= 5.6.0-16)
    Larry Wall 的实用抽取和报表语言(Practical Extraction and Report Language)

下载 libexporter-lite-perl

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 8.7 kB60 kB [文件列表]