Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

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

Author

       Moshe Kamensky <kamensky@cpan.org>

Description

       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.

Name

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

Synopsis

           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

Version

       version 2.18

See Also