If you are willing to venture outside of CPAN ;--) I have a module that lets you walk an unknown data structure: Data::Traverse. It does basically what your code does, but wraps it to give you an iterator.
In reply to Re: convert UTF-8 in nested data structures
by mirod
in thread convert UTF-8 in nested data structures
by slayven
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |