in reply to File content sorting based on type
Please post runnable code with appropriate input data.
next unless $input_data_each_line=~ /"securityType":"$_[0]"/; [download]
The sample input never contains the string "securityType".