Help language development. Donate to The Perl Foundation
Raku port of Perl's Tie::Array module
use P5tie;
use Tie::Array;
This module tries to mimic the behaviour of Perl's Tie::Array
module as closely as possible in the Raku Programming Language.
Tie::Array is a module intended to be subclassed by classes using the interface. It depends on the implementation of methods FETCH
, STORE
, FETCHSIZE
and STORESIZE
.
The EXISTS
method should be implemented if exists
functionality is needed. The DELETE
method should be implemented if delete
functionality is needed. Apart from these, all other interfaces methods are provided in terms of FETCH
, STORE
, FETCHSIZE
and STORESIZE
.
Elizabeth Mattijsen [email protected]
Source can be located at: https://github.com/lizmat/Tie-Array . Comments and Pull Requests are welcome.
Copyright 2018, 2019, 2020, 2021 Elizabeth Mattijsen
Re-imagined from Perl as part of the CPAN Butterfly Plan.
This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.