Skip to content
Sections
>> Trisquel >> Paket >> aramo >> perl >> libsub-delete-perl
etiona  ] [  nabia  ] [  aramo  ]
[ Källkod: libsub-delete-perl  ]

Paket: libsub-delete-perl (1.00002-2.1)

Perl module to delete subroutines

Sub::Delete provides one function, delete_sub, that deletes the subroutine whose name is passed to it. (To load the module without importing the function, write use Sub::Delete();.)

This does more than simply undefine the subroutine in the manner of undef &foo, which leaves a stub that can trigger AUTOLOAD (and, consequently, won't work for deleting methods). The subroutine is completely obliterated from the symbol table (though there may be references to it elsewhere, including in compiled code).

Andra paket besläktade med libsub-delete-perl

  • beror
  • rekommenderar
  • föreslår
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

Hämta libsub-delete-perl

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 6,9 kbyte20 kbyte [filförteckning]