Filewatcher File Search File Search
Catalog
Content Search
» » » » » »

perl-Sub-Delete

Perl module enabling one to delete subroutines

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

Homepage:
Package version:1.00002
Architecture:noarch
Distribution:Dag
Filename:perl-Sub-Delete-1.00002-1.el5.rf.noarch.rpm

/usr/share/doc/perl-Sub-Delete-1.00002/README

Sub::Delete, version 1.00002

This module allows one to delete a subroutine. Not much to it.


INSTALLATION

The easiest way to install this module is to use the CPAN module or
the cpan script:

    [sudo] perl -MCPAN -e "install Sub::Delete"

    [sudo] cpan Sub::Delete

Or you can use the following:

    perl Makefile.PL
    make
    make test
    [sudo] make install


CHANGES IN THIS RELEASE

d
more»

/usr/share/man/man3/Sub::Delete.3pm.gz

Sub::Delete(3)   User Contributed Perl Documentation  Sub::Delete(3)



NAME
       Sub::Delete - Perl module enabling one to delete subroutines

VERSION
       1.00002

SYNOPSIS
           use Sub::Delete;
           sub foo {}
           delete_sub 'foo';
           eval 'foo();1' or die; # dies

DESCRIPTION
       This module provides one function, "delete_sub", that deletes
       the subrouti
more»

/usr/share/doc/perl-Sub-Delete-1.00002/Changes

Revision history for Sub::Delete

1.00002  18 April, 2010
         delete_sub no longer leaks messages into $@.

1.00001  21 February, 2010
         A workaround for a %^H scoping bug in perl 5.10.0:  this was
         triggered by  Sub::Delete,  affecting  other  modules,  like
         constant::lexical.

1.00000  15 November, 2009
         The only new feature in this release is that the versio
more»

Browse inside perl-Sub-Delete-1.00002-1.el5.rf.noarch.rpm

1.17 KB2014-11-27HEADER  view  90 mirrors
         [DIR]usr/ (2)  65535+ mirrors

Download perl-Sub-Delete-1.00002-1.el5.rf.noarch.rpm

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017 FileWatcher.com