in reply to Initializing Hash reference
but this is indeed simpler:%$err_info =( CMD => 'Command Execution Failed', STATUS => 'Status Check Failed', SUCCESS => 'Command Succeful upto', TIME => 'scalar localtime()', );
$err_info ={ CMD => 'Command Execution Failed', STATUS => 'Status Check Failed', SUCCESS => 'Command Succeful upto', TIME => 'scalar localtime()', };
|
|---|