in reply to Re: Proper use of split
in thread Proper use of split
That brings up a very interesting idea: if you are looking just for particular keys, such as "temp", a regex that specifically included that string would be a great way to probe the string for precisely that key, ignoring all the others if any. (The “qr//” construct might come in handy here; see Regex Quote-Like Operators in perldoc perlop.)