全部搜尋項
jessie  ] [  stretch  ] [  buster  ] [  bullseye  ] [  sid  ]
[ 原始碼: libclass-autoloadcan-perl  ]

套件:libclass-autoloadcan-perl(0.03-2)

libclass-autoloadcan-perl 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 libclass-autoloadcan-perl

維護小組:

外部的資源:

相似套件:

module managing conflict between AUTOLOAD, can and inheritance

Class::AutoloadCAN solves a fundamental conflict between AUTOLOAD, can and inheritance. The problem is that while you can implement anything in AUTOLOAD, UNIVERSAL::can is not aware that it is there. Attempting to modify UNIVERSAL::can to document those methods is very hard. And if a parent class uses AUTOLOAD then subclasses have to do a lot of work to make their AUTOLOADs cooperate with the parent one. It is harder still if 2 parent classes in a multiple inheritance tree wish to cooperate with each other. Few try to do this, which may be good since those who try usually get it wrong. See http://www.perlmonks.org/?node_id=342804 for a fuller discussion.

With this module instead of writing AUTOLOADs, you write CANs. Based on what they return, Class::AutoloadCAN will decide whether you handle the call or it needs to search higher up the inheritance chain.

標籤: 軟體開發: Perl 開發, 函式庫, 實做語言: Perl

其他與 libclass-autoloadcan-perl 有關的套件

  • 依賴
  • 推薦
  • 建議
  • 增強

下載 libclass-autoloadcan-perl

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 10。8 kB26。0 kB [檔案列表]