in reply to Re^3: My 'perldar' tells me there is a 'better' solution for this list operation
in thread My 'perldar' tells me there is a 'better' solution for this list operation
Looks like you posted this as I was composing my reply below. I get it now. You're doing it exactly how I was thinking of the problem at first, making the regular expression be the array and the LHV of the match be the individual element. That's a clever use of $" to make the separator be the alternation operator for regexps ('|'). I thought | only worked in parentheses, though. I stand corrected.
_________________________________________________________________________________
I like computer programming because it's like Legos for the mind.
|
|---|