все параметры
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Источник: libexporter-lite-perl  ]

Пакет: libexporter-lite-perl (0.09-2)

Ссылки для 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.

Exporter::Lite simply exports its import() function into your namespace. This might be called a "mix-in" or a "role".

When Exporter::Lite was written, if you wanted to use Exporter you had to write something like this:

 use Exporter;
 our @ISA = qw/ Exporter /;

Exporter::Lite saved you from writing that second line. But since before 2010 you've been able to write:

 use Exporter qw/ import /;

which imports the import function into your namespace from Exporter.

As a result, it is recommended to use Exporter now, as it's a core module (shipped with Perl).

Теги: Разработка программного обеспечения: Разработка на Perl, Библиотеки, Реализовано на: Perl

Другие пакеты, относящиеся к libexporter-lite-perl

  • зависимости
  • рекомендации
  • предложения
  • enhances

Загрузка libexporter-lite-perl

Загрузить для всех доступных архитектур
Архитектура Размер пакета В установленном виде Файлы
all 10,4 Кб29,0 Кб [список файлов]