NAME
Tie::StringArray - use a tied string as an array of chars
SYNOPSIS
use Tie::StringArray;
tie my @array, 'Tie::StringArray', qw(137 88 54);
DESCRIPTION
The Tie::StringArray
module is a demonstration from Mastering Perl. It stores integers between 0 and 255 as a single character in a string that acts like an array through tie
. Behind the tie
, the array is a single string, so there's only one scalar to store.
I don't think this is particularly useful for anything real.
- new
TO DO
SEE ALSO
SOURCE AVAILABILITY
This source is in Github:
http://github.com/briandfoy/tie-stringarray/
AUTHOR
brian d foy, <bdfoy@cpan.org>
COPYRIGHT AND LICENSE
Copyright © 2005-2021, brian d foy <bdfoy@cpan.org>. All rights reserved.
You may redistribute this under the terms of the Artistic License 2.0.