Sachin has asked for the wisdom of the Perl Monks concerning the following question:
Hi, I don't know, so could you tell me, Can we insert value of array in hashref?
my @array = ('test', 'demo', 'work'); #hashref my $value = { 'key' => ['value' , @array , 'add']; }
Is it possible? If no then any other way to insert an array in hashref?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Can i stored an array in hashref?
by moritz (Cardinal) on Nov 26, 2009 at 07:38 UTC | |
by Marshall (Canon) on Nov 26, 2009 at 09:42 UTC | |
|
Re: Can i stored an array in hashref?
by AnomalousMonk (Archbishop) on Nov 26, 2009 at 17:09 UTC | |
|
Re: Can i stored an array in hashref?
by biohisham (Priest) on Nov 26, 2009 at 15:11 UTC |