in reply to Re: Unable to get the paragraph in the list of hashes. Getting single lines instead.
in thread Unable to get the paragraph in the list of hashes. Getting single lines instead.
Hi GrandFather,
Thank you very much for taking time to try this out and suggestion a truly genius solution. However, I was looking more for something that would let me access each field as a value so that I could get something like so (note that the output below does not :
{ '1: ID' => 'disk_dpe_0_0', 'Capacity' => '576393510912 (536.8G)', 'Rotational speed' => '15000 rpm', #more similar stuff............. 'User capacity' => '576359956480 (536.8G)', 'Pool' => 'Hot Spare (not in use)', }, #and so on....
That way, I could only extract the values of a few keys and not the entire hash. But, you've already done a lot. Let me try something and come back here in case I cannot do it. Thank you once again Sir.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Unable to get the paragraph in the list of hashes. Getting single lines instead.
by GrandFather (Saint) on Sep 20, 2020 at 22:58 UTC | |
by tybalt89 (Monsignor) on Sep 21, 2020 at 06:48 UTC | |
by GrandFather (Saint) on Sep 21, 2020 at 10:11 UTC | |
by pritesh_ugrankar (Monk) on Sep 21, 2020 at 19:49 UTC | |
by GrandFather (Saint) on Sep 21, 2020 at 21:05 UTC |