Paul Kraus <[EMAIL PROTECTED]> wrote:
:
: I have a hash like this
:
: $hash{key}=['item1','item2'];
:
: Later on I want to push item3 into the array.
You marked your question as high importance
and left out the question. Very strange.
I assume your forgotten question is this.
Notice ho
On Tue, 2003-07-08 at 04:32, Paul Kraus wrote:
> I have a hash like this
>
> $hash{key}=['item1','item2'];
>
> Later on I want to push item3 into the array.
The value of the hash element is a 'reference to an array', so you will
need to do something like:
push(@{$hash{key}}, 'item3');
--