The exact code for perl to take into consideration multiple routes to the same node so that rmap_ref need not be called multiple times would be
rmap_ref { $_[0]{seen} = {}; $_ = "$_" if JSON::is_bool($_) } $result;In reply to Re^4: Converting boolean values in XMLout
by perlyogi
in thread Converting boolean values in XMLout
by this_is_a_test
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |