Skip to content
Sections
>> Trisquel >> Pakete >> etiona >> perl >> libsub-name-perl
etiona  ] [  nabia  ] [  aramo  ]
[ Quellcode: libsub-name-perl  ]

Paket: libsub-name-perl (0.21-1build1)

module for assigning a new name to referenced sub

Sub::Name has only one function, which is also exported by default:

subname NAME, CODEREF

Assigns a new name to referenced sub. If package specification is omitted in the name, then the current package is used. The return value is the sub.

The name is only used for informative routines (caller, Carp, etc). You won't be able to actually invoke the sub by the given name. To allow that, you need to do glob-assignment yourself.

Andere Pakete mit Bezug zu libsub-name-perl

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • dep: libc6 (>= 2.4)
    GNU C Library: Shared libraries
    auch ein virtuelles Paket, bereitgestellt durch libc6-udeb
  • dep: perl (>= 5.26.0-4)
    Larry Wall's Practical Extraction and Report Language
  • dep: perlapi-5.26.0
    virtuelles Paket, bereitgestellt durch perl-base

libsub-name-perl herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
amd64 11,3 kB41 kB [Liste der Dateien]
i386 11,6 kB41 kB [Liste der Dateien]