devel/p5-Array-RefElem 1.00nb18 NetBSD
Set up array elements as aliases
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
618415630a- License
- gnu-gpl-v2 OR artistic
- Categories
- devel, perl5
- Package size
- 8.2 KiB, 17.4 KiB installed
Description
This module gives direct access to some of the internal Perl routines that let you store things in arrays and hashes. The following functions are available:
av_store(@array, $index, $value)
Stores $value in @array at the specified $index. After executing
this call, $array\[$index\] and $value denote the same thing.
av_push(@array, $value)
Pushes $value onto the @array. After executing this call,
$array\[-1\] and $value denote the same thing.
hv_store(%hash, $key, $value);
Stores $value in the %hash with the given $key. After executing
this call, $hash{$key} and $value denote the same thing.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | devel/p5-Array-RefElem | 1.00nb18 |
| FreeBSD | misc/p5-Array-RefElem | 1.00_1 |
| OpenBSD | devel/p5-Array-RefElem | 1.00p3 |
| DragonFly | misc/p5-Array-RefElem | 1.00_1 |
| HardenedBSD | misc/p5-Array-RefElem | 1.00_1 |
| GhostBSD | misc/p5-Array-RefElem | 1.00_1 |
Install
Binary package:
pkgin install p5-Array-RefElem
From pkgsrc:
cd /usr/pkgsrc/devel/p5-Array-RefElem && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 1.00nb18 |
| NetBSD 10.1 aarch64 | 1.00nb17 |
| SmartOS / illumos x86_64 | 1.00nb18 |
| macOS 15 arm64 | 1.00nb18 |