Skip to content
Sections
>> Trisquel >> 套件 >> nabia >> perl >> libsafe-isa-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: libsafe-isa-perl  ]

套件: libsafe-isa-perl (1.000010-1)

module for safely calling isa and friends on things that may not be objects

Since Perl allows providing a subroutine reference, or a method name, to the -> operator (when used as a method call) and a subroutine doesn't require the invocant to actually be an object, Safe::Isa can be used to create safe versions of isa, can, does and DOES by using a subroutine reference that only tries to call the method if it's actually used on an object.

其他與 libsafe-isa-perl 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

下載 libsafe-isa-perl

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 7.5 kB22 kB [文件列表]