Skip to content
Sections
>> Trisquel >> 软件包 >> aramo >> perl >> libclass-load-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 源代码: libclass-load-perl  ]

软件包: libclass-load-perl (0.25-1)

module for loading modules by name

"require EXPR" only accepts Class/Name.pm style module names, not Class::Name. For that, Class::Load provides "load_class 'Class::Name'".

It's often useful to test whether a module can be loaded, instead of throwing an error when it's not available. For that, Class::Load provides "try_load_class 'Class::Name'".

Finally, sometimes it is important to know whether a particular class has been loaded. Asking %INC is an option, but that will miss inner packages and any class for which the filename does not correspond to the package name. For that, this module provides "is_class_loaded 'Class::Name'".

其他与 libclass-load-perl 有关的软件包

  • 依赖
  • 推荐
  • 建议

下载 libclass-load-perl

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 13.1 kB37 kB [文件列表]