Re: [htmltmpl] One-liner to convert array-of-hashes to an array
Brought to you by:
samtregar
From: Philip S T. <phi...@gm...> - 2002-07-16 09:52:48
|
On Tue, 16 Jul 2002, Stefan Svensson wrote: > Sorry for bothering you with a simple, off-topic question to which I can't > find any answer elsewhere. > > Can someone provide a simple one-liner to convert a array-of-hashes to an > array of values for a specified hash key? Please note the change in list address. This might work: my @lov = map {$_->{$key}} @hash_array; |