The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Data::Postponed::_ReadOnly::Array - A tie implementation of a read only array

SYNOPSIS

 tie @foo, 'Data::Postponed::_ReadOnly::Array',
   @defaults;

DESCRIPTION

This tie() module may be used by Data::Postponed::OnceOnly to implement read only arrays.

METHODS

TIEARRAY, FETCH, FETCHSIZE, EXISTS

These work as in normal arrays.

CLEAR, DELETE, EXTEND, POP, PUSH, SHIFT, UNSHIFT, SPLICE, STORE, STORESIZE

These methods all return fatal errors

SEE ALSO

Data::Postponed::OnceOnly

AUTHOR

Joshua ben Jore, <jjore@cpan.org>

COPYRIGHT & LICENSE

Copyright 2005 Joshua ben Jore, All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.