Think about Loose Coupling | |
PerlMonks |
Re: Convert Tcl Keyed List to Perlby LanX (Saint) |
on May 22, 2013 at 16:16 UTC ( [id://1034782]=note: print w/replies, xml ) | Need Help?? |
Wow, seems like John Ousterhout really loved LISP I was so kind to format your data with emacs
and as it turns out it's a mixture of nested lists and keyed lists.¹ What's worse, I can't easily see a way to automatically distinguish between the two ... (OK it's more than a decade that I used TCL for the last time.) So w/o deeper information of the schema I'd rather recommend to try to find a JSON interface for TCL.
Cheers Rolf ( addicted to the Perl Programming Language) ¹) I suppose you want a nested data structure with Perl arrays and hashes
In Section
Seekers of Perl Wisdom
|
|