Pakiet: libex-monkeypatched-perl (0.03-1.1)
Odnośniki dla libex-monkeypatched-perl
Zasoby systemu Trisquel:
- Install using apturl
- Entry at directory.fsf.org
- Raporty o błędach
- Changelog
- Informacje nt. praw autorskich
Pobieranie pakietu źródłowego libex-monkeypatched-perl:
- [libex-monkeypatched-perl_0.03-1.1.dsc]
- [libex-monkeypatched-perl_0.03.orig.tar.gz]
- [libex-monkeypatched-perl_0.03-1.1.debian.tar.xz]
Opiekun:
Original Maintainers:
- Debian Perl Group (Archiwum e-mail)
- Jonas Smedegaard
Zasoby zewnętrzne:
- Strona internetowa [metacpan.org]
Podobne pakiety:
experimental API for safe monkey-patching
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 <http://aaroncrane.co.uk/talks/monkey_patching_subclassing/> for more details.
Inne pakiety związane z libex-monkeypatched-perl
|
|
|
-
- dep: libsub-name-perl
- module for assigning a new name to referenced sub
-
- dep: perl
- Larry Wall's Practical Extraction and Report Language
Pobieranie libex-monkeypatched-perl
Architektura | Rozmiar pakietu | Rozmiar po instalacji | Pliki |
---|---|---|---|
all | 8,1 KiB | 30 KiB | [lista plików] |