I have following data structure :
my $cmd_param_show = {'scsitrace_start_log_to_disk_true' =
{'param_val'={'log-to-disk' = 'true'},
'scsitrace_show' = {'log-to-disk'= 'true',
'enabled'=
Try this:-
print
$cmd_param_show-{'scsitrace_start_log_to_disk_true'}-{'param_val'}-{'log-to-disk'}\n;
-Akshay
On Thu, Jun 18, 2015 at 2:35 PM, Sunita Pradhan
sunita.pradhan.2...@hotmail.com wrote:
I have following data structure :
my $cmd_param_show = {'scsitrace_start_log_to_disk_true' =
2015 14:46:10 +0530
Subject: Re: want to access single value in a hash
To: sunita.pradhan.2...@hotmail.com
CC: beginners@perl.org
Try this:-
print
$cmd_param_show-{'scsitrace_start_log_to_disk_true'}-{'param_val'}-{'log-to-disk'}\n;
-Akshay
On Thu, Jun 18, 2015 at 2:35 PM, Sunita
Yeah I am able to access the value but how to get the key ?
-Sunita
From: akshaymohit2...@gmail.com
Date: Thu, 18 Jun 2015 14:46:10 +0530
Subject: Re: want to access single value in a hash
To: sunita.pradhan.2...@hotmail.com
CC: beginners@perl.org
Try this:-print
$cmd_param_show
able to access the value but how to get the key ?
-Sunita
--
From: akshaymohit2...@gmail.com
Date: Thu, 18 Jun 2015 14:46:10 +0530
Subject: Re: want to access single value in a hash
To: sunita.pradhan.2...@hotmail.com
CC: beginners@perl.org
Try this:-
print