I am building an array from a datafile that is used as a parameter list to a cached SQL statement. This is for perl DBI running against an Oracle database.
For example:
@params = ("This", "that", "NULL", "finish");
I need this changed to:
@params = ("This", "that", undef, "finish");
I have googled for this and map with s/// is suggested for string substition. I do not know how to undef an element in an array for a given condition.
1 Answer