libex-monkeypatched-perl - experimental API for safe monkey-patching

Distribution: Debian 8 (Jessie)
Repository: Debian Main amd64
Package name: libex-monkeypatched-perl
Package version: 0.03
Package release: 1
Package architecture: all
Package type: deb
Installed size: 25 B
Download size: 11.10 KB
Official Mirror:
The term "monkey patching" describes injecting additional methods into a class whose implementation you don't control. If done without care, this is dangerous; the problematic case arises when: * You add a method to a class; * A newer version of the monkey-patched class adds another method of the same name * And uses that new method in some other part of its own implementation. ex::monkeypatched lets you do this sort of monkey-patching safely: before it injects a method into the target class, it checks whether the class already has a method of the same name. If it finds such a method, it throws an exception (at compile-time with respect to the code that does the injection). See <> for more details.



    Source package: libex-monkeypatched-perl

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install libex-monkeypatched-perl deb package:
      # sudo apt-get install libex-monkeypatched-perl


    • /usr/share/doc/libex-monkeypatched-perl/buildinfo_all.gz
    • /usr/share/doc/libex-monkeypatched-perl/changelog.Debian.gz
    • /usr/share/doc/libex-monkeypatched-perl/changelog.gz
    • /usr/share/doc/libex-monkeypatched-perl/copyright
    • /usr/share/man/man3/ex::monkeypatched.3pm.gz
    • /usr/share/perl5/ex/


    2014-10-21 - Jonas Smedegaard <> libex-monkeypatched-perl (0.03-1) unstable; urgency=low * Initial Release. Closes: bug#766229.