On Aug 27, 2:36 am, [EMAIL PROTECTED] (Andreas Moroder)
wrote:
> Hello,
>
> I have to store more then one value in a hash array. I tried to store a
> array as value in the hash. But when I try to retrieve it I don't get the
> array I have stored.
>
> Can anyone please help me.
$a{val1} = "a1";
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Moroder
> Sent: Sunday, August 26, 2007 23:37
> To: beginners@perl.org
> Subject: store more values in a hash array
>
> Hello,
>
> I have to store more then one value in a hash a
On Aug 27, 2:36 am, [EMAIL PROTECTED] (Andreas Moroder)
wrote:
> I have to store more then one value in a hash array. I tried to store a
> array as value in the hash. But when I try to retriev it I don't get the
> array I have stroed.
>
> Can anyone please help me.
To read more about how to crea
Hello,
You need an array of hash to do it.That's to say,to store array's
reference (or anonymous array) as hash's values.
my %hash = (key1 => [EMAIL PROTECTED], key2 =>. [EMAIL PROTECTED] ...);
or,
my %hash = (key1 => [a,b,c], key2 => [1,2,3] ...);
2007/8/27, Andreas Moroder <[EMAIL PROTECTED
Hello,
I have to store more then one value in a hash array. I tried to store a
array as value in the hash. But when I try to retriev it I don't get the
array I have stroed.
Can anyone please help me.
Thanks
Andreas
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mai