Skip to content
Sections
>> Trisquel >> 套件 >> etiona >> perl >> libsub-delete-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: libsub-delete-perl  ]

套件: libsub-delete-perl (1.00002-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).

其他與 libsub-delete-perl 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

下載 libsub-delete-perl

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 7.2 kB60 kB [文件列表]