Subject: | can we have "push" and "shift" on arrays? |
How hard would it be to provide common array methods like "push", "pop",
etc. for array items? E.g.
use Class::MakeMethods::Standard::Hash(array => 'aaa');
...
$self->push_aaa(qw( elem1 elem2 ));
$elem = $self->shift_aaa;
Or something like that?
If my question doesn't make sense, I apologize. I am a very beginning
user of this module but I don't see this basic functionality is provided.