bkobs39 has asked for the wisdom of the Perl Monks concerning the following question:
Hi, I'm using the Tcl module to execute a few commands, communicating with an RPC Server through a Tcl API. I am being returned a keyed list. Is there anyway to convert this list into something useful in Perl where I can retrieve values.
Here is the keyed list that I have a handle on in Perl:
Stats: {{Register {{CumulativeActive(calls)(In) 0} {CumulativeSuccessf +ullyEstablished(calls)(In) 0} {CumulativeSuccessfullyCompleted(calls) +(In) 0} {CumulativeUnsuccessful(calls)(In) 0} }}} {{{Make Cal l} {{CumulativeActive(calls)(In) 0} {CumulativeSuccessfullyEstablished +(calls)(In) 0} {CumulativeSuccessfullyCompleted(calls)(In) 0} {Cumula +tiveUnsuccessful(calls)(In) 0} }}} {{Initiating {{CumulativeA ctive(calls)(In) 0} {CumulativeSuccessfullyEstablished(calls)(In) 0} { +CumulativeSuccessfullyCompleted(calls)(In) 0} {CumulativeUnsuccessful +(calls)(In) 0} }}} {{Summary {{CumulativeActive(calls)(In) 0} {CumulativeSuccessfullyEstablished(calls)(In) 0} {CumulativeSuccessfu +llyCompleted(calls)(In) 0} {CumulativeUnsuccessful(calls)(In) 0} }}}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Convert Tcl Keyed List to Perl
by LanX (Saint) on May 22, 2013 at 16:16 UTC | |
by LanX (Saint) on May 22, 2013 at 16:56 UTC | |
by jaredor (Priest) on May 24, 2013 at 02:30 UTC | |
by LanX (Saint) on May 24, 2013 at 03:38 UTC | |
|
Re: Convert Tcl Keyed List to Perl
by hdb (Monsignor) on May 22, 2013 at 20:01 UTC | |
by LanX (Saint) on May 22, 2013 at 23:19 UTC | |
|
Re: Convert Tcl Keyed List to Perl
by space_monk (Chaplain) on May 22, 2013 at 16:23 UTC | |
|
Re: Convert Tcl Keyed List to Perl (Tkx, dadum, t2p)
by Anonymous Monk on May 23, 2013 at 03:24 UTC | |
by Anonymous Monk on May 23, 2013 at 03:44 UTC | |
|
Re: Convert Tcl Keyed List to Perl
by james2vegas (Chaplain) on May 22, 2013 at 20:36 UTC |