On 9 Oct 2007 at 11:09, Rodrigo Tavares wrote:

Hi

> Hello,
> 
> I created a hash with some elements and keys.
> The hash must receive a array.
> 
> Can I do it ?   

yes. I think this will work.

$hash{'myarray'} = [1, 2, 3]; 

or 

$hash{'myarray'} = [EMAIL PROTECTED];

and I am sure there are lots of other ways to do it too.
HTH,
Dp

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to