Package Info

perl-Symbol-Util


Additional utils for Perl symbols manipulation


Development/Libraries/Perl

This module provides a set of additional functions useful for Perl symbols manipulation.

All Perl symbols from the same package are organized as a stash. Each symbol (glob) contains one or more of following slots: 'SCALAR', 'ARRAY', 'HASH', 'CODE', 'IO', 'FORMAT'. These slots are also accessible as standard variables or bare words.

The Perl symbols table is directly accessible with typeglob prefix but it can be difficult to read and problematic if strict mode is used. Also the access to stash, glob and one of its slot have different syntax notation.

'stash' and 'fetch_glob' functions gets stash or glob without need to use 'no strict 'refs''.

'delete_glob' function allows to delete specific slot of symbol name without deleting others.

'delete_sub' removes the symbol from class API. This symbol won't be available as an object method.

'export_glob' function exports a glob to the target package.

'export_package' works like the Exporter manpage module and allows to export symbols from one package to other.

'unexport_package' allows to delete previously exported symbols.


License: Artistic-1.0 or GPL-1.0+
URL: http://search.cpan.org/dist/Symbol-Util/

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.0203-bp155.2.12 info GA Release 2023-05-17 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Symbol-Util
0.0203-bp154.1.26 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Symbol-Util
0.0203-bp153.1.15 info GA Release 2021-03-06 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Symbol-Util
0.0203-bp152.3.18 info GA Release 2020-04-16 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Symbol-Util
0.0203-bp151.3.1 info GA Release 2019-07-16 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Symbol-Util
0.0203-bp151.2.14 info GA Release 2019-05-18 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Symbol-Util
0.0203-bp150.2.4 info GA Release 2018-07-30 15
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Symbol-Util