全部搜尋項
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  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 [檔案列表]