你能幫我怎麼得到perl中不同值的唯一密鑰嗎?,這些日誌文件經常產生,值不斷變化。Perl密鑰和多個值查詢
"cloning": true
"cmdline": "git-upload-pack
"features": ""
"frontend": "github.com"
"frontend_pid": 14421
"frontend_ppid": 1
"git_dir": "/repositories/xorg/myrepo.git"
"hostname": "github.com"
"pgroup": "20603"
"pid": 20603
"ppid": 20600
"program": "upload-pack"
"cloning": false
"cmdline": "git-upload-pack
"features": ""
"frontend": "github.com"
"frontend_pid": 14422
"frontend_ppid": 2
"git_dir": "/repositories/yorg/myrepo2.git"
"hostname": "github.com"
"pgroup": "20604"
"pid": 20604
"ppid": 20500
"program": "upload-pack"
由於提前
請告訴我們你有什麼到目前爲止已經試過,並參見[如何在Stack Overflow上提出一個好問題](http:// stackoverflow .COM /幫助/如何對問)。 – 2014-09-25 09:29:55
另請參閱此問題:http://stackoverflow.com/questions/17218110/can-a-hash-key-have-multiple-subvalues-in-perl – 2014-09-25 09:32:10
這不是Perl散列。它看起來更像是一個JSON對象,但逗號不見了。或者是這部分日誌文件? – simbabque 2014-09-25 09:33:37