Package Info

perl-Sub-Delete


Perl module enabling one to delete subroutines


Development/Libraries/Perl

This module 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).


License: Artistic-1.0 OR GPL-1.0-or-later
URL: https://metacpan.org/release/Sub-Delete

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
1.00002-bp155.2.10 info GA Release 2023-05-17 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Sub-Delete
1.00002-bp154.1.16 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Sub-Delete
1.00002-bp153.1.14 info GA Release 2021-03-06 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Sub-Delete
1.00002-bp152.1.9 info GA Release 2020-04-16 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Sub-Delete