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 πŸ«‘πŸ’–


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