1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
Source: libsub-delete-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Uploaders: Ernesto Hernández-Novich (USB) <emhn@usb.ve>
Section: perl
Priority: optional
Build-Depends: debhelper (>= 11)
Build-Depends-Indep: perl
Standards-Version: 4.1.5
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libsub-delete-perl
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libsub-delete-perl.git
Homepage: https://metacpan.org/release/Sub-Delete
Testsuite: autopkgtest-pkg-perl
Package: libsub-delete-perl
Architecture: all
Depends: ${misc:Depends},
${perl:Depends}
Description: 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).
|