libmodule-runtime-perl:基于 Perl 的运行时模块处理项目

可用于在运行时处理 Perl 模块,弥补编译时处理的不足。核心功能包括模块加载等运行时操作,避免依赖其他模块,适用于底层基础设施,并针对旧 Perl 核心的'require' bugs 提供了兼容解决方案。【此简介由AI生成】

Branch4Tags3
FilesLast commitLast update
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago

NAME

Module::Runtime - runtime module handling

DESCRIPTION

The functions exported by this module deal with runtime handling of Perl modules, which are normally handled at compile time. This module avoids using any other modules, so that it can be used in low-level infrastructure.

The parts of this module that work with module names apply the same syntax that is used for barewords in Perl source. In principle this syntax can vary between versions of Perl, and this module applies the syntax of the Perl on which it is running. In practice the usable syntax hasn't changed yet. There's some intent for Unicode module names to be supported in the future, but this hasn't yet amounted to any consistent facility.

The functions of this module whose purpose is to load modules include workarounds for three old Perl core bugs regarding "require". These workarounds are applied on any Perl version where the bugs exist, except for a case where one of the bugs cannot be adequately worked around in pure Perl.

INSTALLATION

perl Build.PL
./Build
./Build test
./Build install

AUTHOR

Andrew Main (Zefram) zefram@fysh.org

COPYRIGHT

Copyright (C) 2004, 2006, 2007, 2009, 2010, 2011, 2012, 2014, 2017 Andrew Main (Zefram) zefram@fysh.org

LICENSE

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Introduction

可用于在运行时处理 Perl 模块,弥补编译时处理的不足。核心功能包括模块加载等运行时操作,避免依赖其他模块,适用于底层基础设施,并针对旧 Perl 核心的'require' bugs 提供了兼容解决方案。【此简介由AI生成】

Customize your domain