in reply to Re^3: Python dict to perl hash
in thread Python dict to perl hash
But I copied that dict from somewhere and need to convert it to hash to work upon it.
Hm. His use of "it" implies singular; but it could go either way I suppose.
(I'm just having trouble thinking of a scenario where he'd regularly or repeatedly need to C&P a chunk of Python dict initialisation into a Perl string and the parse it to initialise a hash.)
But then, there are better ways of doing it in Python also:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Python dict to perl hash
by GotToBTru (Prior) on Mar 30, 2015 at 16:03 UTC |