Alle Optionen
bookworm  ] [  trixie  ] [  sid  ]
[ Quellcode: libsyntax-keyword-multisub-perl  ]

Paket: libsyntax-keyword-multisub-perl (0.04-2 und andere)

Links für libsyntax-keyword-multisub-perl

Screenshot

Debian-Ressourcen:

Quellcode-Paket libsyntax-keyword-multisub-perl herunterladen:

Betreuer:

Externe Ressourcen:

Ähnliche Pakete:

multiple subroutine dispatch syntax extension

Syntax::Keyword::MultiSub provides a new keyword, multi, to put before subroutine declarations, which permits multiple distinct function bodies to be provided, which take different parameters. A call to a multi sub will invoke whichever function body best fits the arguments passed.

Currently this module can only make dispatching decisions based on the number of arguments as compared to the number of signature parameters each body was expecting. It requires perl version 5.26 or above, in order to get enough support from signatures. Note also enabling this module does not enable the signatures feature; you must do that independently.

Markierungen: Software-Entwicklung: Perl-Entwicklung, Bibliotheken, Implementiert in: implemented-in::c, implemented-in::perl, Rolle: Entwicklungs-Bibliothek

Andere Pakete mit Bezug zu libsyntax-keyword-multisub-perl

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • erweitert

libsyntax-keyword-multisub-perl herunterladen

Download für alle verfügbaren Architekturen
Architektur Version Paketgröße Größe (installiert) Dateien
i386 0.04-2+b3 12,0 kB45,0 kB [Liste der Dateien]