Skip to content
Sections
>> Trisquel >> Packages >> etiona >> perl >> libsafe-isa-perl
etiona  ] [  nabia  ] [  aramo  ]
[ Source: libsafe-isa-perl  ]

Package: libsafe-isa-perl (1.000008-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.

Other Packages Related to libsafe-isa-perl

  • depends
  • recommends
  • suggests
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

Download libsafe-isa-perl

Download for all available architectures
Architecture Package Size Installed Size Files
all 7.1 kB21 kB [list of files]