wszystkie opcje
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Pakiet źródłowy: libimport-into-perl  ]

Pakiet: libimport-into-perl (1.002005-1)

Odnośniki dla libimport-into-perl

Screenshot

Zasoby systemu Debian:

Pobieranie pakietu źródłowego libimport-into-perl:

Opiekunowie:

Zasoby zewnętrzne:

Podobne pakiety:

module for importing packages into other packages

Import::Into creates a global method import::into which you can call on any package to import it into another package. This is useful because there are many different ways to write exporters: some use Exporter, some use Sub::Exporter, some use Moose::Exporter, some use Exporter::Declare and some things are pragmas.

And if you want to re-export other things, you have to know which is which. Exporter subclasses provide export_to_level, but if they overrode their import method all bets are off. Sub::Exporter provides an into parameter but figuring out something used it isn't trivial. Pragmas need to have their import method called directly since they affect the current unit of compilation. Import::Into can be used to import packages into other packages without having to deal with the specific details of every exporting approach.

Znaczniki: Rozwój oprogramowania: Rozwijanie w języku Perl, Biblioteki, Zaimplementowane w: Perl

Inne pakiety związane z libimport-into-perl

  • wymaga
  • poleca
  • sugeruje
  • enhances

Pobieranie libimport-into-perl

Pobierz dla wszystkich dostępnych architektur
Architektura Rozmiar pakietu Rozmiar po instalacji Pliki
all 11,3 KiB28,0 KiB [lista plików]