>>> > * Using an array of "words" as an alternate list as part of a regex
>>> /match any of (${\join'|',@list}) here/

>NT> $" = "|"; /@list/  # snicker

Certainly I've written

    if (do { local $" = "|"; $var =~ /@any/}) { blah() }

before.

--tom

Reply via email to