Text::...y::Byte(3pm)
β¨ Text::Bidi::Array::Byte β the manual page, but make it cute β¨
okay bestie, gather round π this is the User Contributed Perl Documentation page for Text::Bidi::Array::Byte(3pm), and honestly? it's short, it's sweet, and it does exactly one job. let's get into it.
πΈ NAME πΈ
Text::Bidi::Array::Byte β Dual-life byte arrays π¦
like, it's an array, but make it bytes. no cap.
β VERSION β
version 2.18 π
(yes, that's the vibe. write it down.)
π«Ά SYNOPSIS π«Ά
okay so here's the whole entire move:
use Text::Bidi::Array::Byte;
my $a = new Text::Bidi::Array::Byte "abc";
say $a->[1]; # says 98
say $$a; # says abc
say "$a"; # also says abc
the way that $a->[1] says 98?? that's literally the octet value of b, iconic. and then $$a and "$a" both give you abc right back. it's giving dual life π
. NOT me being obsessed with a byte array. π
π DESCRIPTION π
so here's the tea π: this is a derived class of Text::Bidi::Array, and it's specifically designed to hold "byte" arrays.
if you wanna know the deets on how to actually use this class, go read Text::Bidi::Array β that's where all the usage lore lives, iykyk. π
the one big thing to internalize: each element of the array representation corresponds to an octet in the string representation, at the same location. like, position-for-position, octet-for-element. nothing shifts, nothing plays games, it just lines up. periodt. π
π AUTHOR π
Moshe Kamensky <kamensky@cpan.org> β ty for your service, legend π«‘π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2015 by Moshe Kamensky.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
translation: it's free, you can share it and remix it, just keep it on the same terms as Perl 5 itself. slay. β¨
π§ SEE ALSO π§
lowkey the only friend this page has is Text::Bidi::Array, so go read that one next. it's the parent, it's the main character, it knows everything. π
aaaand that's the whole page, bestie π short king energy fr fr. this came from perl v5.42.3 and it's dated 2026-08-19, so go forth and byte-array responsibly ππ bye mwah π
π¦ where this page comes from
- ubuntu stonking: libtext-bidi-perl 2.18-1build5 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms