http://qs321.pair.com?node_id=55326


in reply to push

facdata is a hash, so push isn't appropriate. You don't need to push anything onto the hash; near as I can tell, what you want to do is to set the keys of %facdata as the values of @facfields, and the corresponding values to the values in @facrow

You're very close indeed :

$facdata{@facfields} = @facrow (a hash slice) seems to be what you want.

Philosophy can be made out of anything. Or less -- Jerry A. Fodor