Please show the code that gave you this Use of uninitialized value $_ warnings. It would not happen with the code as written by Athanasius , so you must have done something differently.
Comment on Re^3: extracting value in a string after checking value after colon ':'