全部搜索项
jessie  ] [  stretch  ] [  buster  ] [  sid  ]
[ 源代码: libexporter-lite-perl  ]

软件包:libexporter-lite-perl(0.08-1)

libexporter-lite-perl 的相关链接

Screenshot

Debian 的资源:

下载源码包 libexporter-lite-perl

维护小组:

外部的资源:

相似软件包:

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.

标签: 软件开发: Perl 开发, 函数库, 实做语言: Perl

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

  • 依赖
  • 推荐
  • 建议
  • 增强

下载 libexporter-lite-perl

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