Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
What is the preferred way of extending/generalising this:
($hr1->{k}, $hr2->{k}, $hr3->{k}) = qw(val1 val2 val3)
I tried map but it doesn't seem to offer a solution.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Map list of hashrefs
by raybies (Chaplain) on Nov 22, 2011 at 13:05 UTC | |
|
Re: Map list of hashrefs
by davido (Cardinal) on Nov 22, 2011 at 13:06 UTC | |
|
Re: Map list of hashrefs
by AnomalousMonk (Archbishop) on Nov 22, 2011 at 19:12 UTC |