Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Make CSV list from values in AoHby LanX (Saint) |
on Aug 17, 2018 at 22:43 UTC ( [id://1220544]=note: print w/replies, xml ) | Need Help?? |
you may want to try something like $csv = join "," , map { "'$_'" } map { $AoH[$_]{name} } 0 .. $#AoH;
updatemaybe clearer are two lines
updatethinking about it, I'd personally prefer :)
of course you are free to merge the two maps into one :)
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|