Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: Filling value of nested hash

by PeterPeiGuo (Hermit)
on Dec 09, 2010 at 16:31 UTC ( [id://876284] : note . print w/replies, xml ) Need Help??

in reply to Filling value of nested hash

Traverse the tree, for each node, if its value is undef, deal with the file etc, otherwise, go to the next level. It can be written in a recursive way.

Peter (Guo) Pei