Name : perl-meta
| |
Version : 0.006
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.1.1
| Date : 2024-09-08 06:24:34
|
Group : Unspecified
| Source RPM : perl-meta-0.006-lp155.1.1.src.rpm
|
Size : 0.08 MB
| |
Packager : https://www_suse_com/
| |
Summary : Meta-programming API
|
Description :
This package provides an API for metaprogramming; that is, allowing code to inspect or manipulate parts of its own program structure. Parts of the perl interpreter itself can be accessed by means of \"meta\"-objects provided by this package. Methods on these objects allow inspection of details, as well as creating new items or removing existing ones.
The intention of this API is to provide a nicer replacement for existing tricks such as \'no strict \'refs\'\' and using globrefs, and also to be a more consistent place to add new abilities, such as more APIs for inspection and alteration of internal structures, metaprogramming around the new \'\'class\'\' feature, and other such uses.
This module should be considered *experimental*; no API stability guarantees are made at this time. Behaviour may be added, altered, or removed in later versions. Once a workable API shape has been found, it is hoped that this module will eventually become dual-life and shipped as part of Perl core, as the implementation for PPC 0022. See the link in the SEE ALSO section.
This module attempts to find a balance between accurately representing low-level concepts within the current implementation of the Perl interpreter, while also providing higher-level abstractions that provide useful behaviour for code that uses it. One place this can be seen is the lower-level list_globs method, which directly maps to the way that GVs are stored in symbol table stashes but requires the user to be aware of the GV-less optimisised storage of CVs, as compared to the higher-level list_symbols method which provides an abstraction over this complication and presents the more useful but less accurate impression of separately named symbols that neatly map to their values.
_Since version 0.003_002_ all the entry-point functions and constructors in this module will provoke warnings in the \'meta::experimental\' category. They can be silenced by
use meta; no warnings \'meta::experimental\';
_Since version 0.005_ the various \'can_...\'-prefixed variant accessor methods print deprecation warnings. They are likely to be removed soon.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-M/15.5/x86_64 |