DOKK / manpages / debian 12 / libtext-bidi-perl / Text::Bidi::Array::Long.3pm.en
Text::Bidi::Array::Long(3pm) User Contributed Perl Documentation Text::Bidi::Array::Long(3pm)

Text::Bidi::Array::Long - Dual-life long arrays

version 2.15

    use Text::Bidi::Array::Long;
    my $a = new Text::Bidi::Array::Long "abc";
    say $a->[0]; # says 6513249 (possibly)
    say $a->[1]; # says 0
    say $$a; # says abc
    say "$a"; # also says abc

This is an derived class of Text::Bidi::Array designed to hold "long" arrays. See Text::Bidi::Array for details on usage of this class. Each element of the array representation corresponds to 4 octets in the string representation. The 4 octets are packed in the endianness of the native machine.

Moshe Kamensky <kamensky@cpan.org>

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.

2022-10-19 perl v5.36.0